Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 917  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: StructureMap Project Users Mailing List
 

Initialize Object Properties 
  Hello, I am injecting in my services a global Settings interface, as Singleton, using StructureMap: public interface ISettings { LoggerSettings Logger { get; } ...public class LoggerSettings { public String Levels { get { return ConfigurationManager.AppSettin gs["Logger.Levels"]; } } public const String Report = "t...@xyz.com";... more »
By Shapper  - Mar 27 - 4 new of 4 messages    

Restrict Injection by Namespace. Is this possible? 
  Hello, I have the following configuration: For<ITranslatorProvider>().Sin gleton().Use<TranslatorProvide rA>(); I have 3 translator providers: TranslatorProviderA, B and C. Each one should be used under certain namespaces. Project.Services > Use Provider A Project.Site > User Provider B ... Is this possible?... more »
By Shapper  - Mar 21 - 1 new of 1 message    

Getting started with structuremap 
  Hello guys. I've started using structuremap and I've got a problem regarding the use of the HttpContextScoped lifecycle. I've got the following: amespace Dri.employees.Web.Configuratio n { public class EmployeeRegistry : Registry { public EmployeeRegistry() { For<IBus>() .HttpContextScoped()... more »
By Luis Abreu  - Mar 16 - 5 new of 5 messages    

all functions in TypeExtensions are not available in 2.6 release any more 
  Where I can find how to use the functions under this static class? it seems I need to use some functions in this class for some interceptor implementations. for example, ImplementsInterfaceTemplate is not available any more. Cheers
By Rico ZHANG  - Mar 13 - 2 new of 2 messages    

'AddAllTypesOf' not adding assembly to ObjectFactory? 
  I am trying to build a console app that loads an assembly at runtime which implements an interface. The point is to create a .dll with instructions that can be changed by changing the .dll. My VS2012 solution exists of 3 projects: the interface, a library which implements it, and a console app. (Because of this, all 3 have their own... more »
By Yves Beeckmans  - Mar 7 - 2 new of 2 messages    

WhatDoIHave says I have it. ObjectFactory says I don't 
  Jeez louise, I'm trying to retro fit a plague ridden legacy app with SM and running into all sorts of strangeness. So I apologize for all the strange questions. so I have this code var whatDoIHave = ObjectFactory.Container.WhatDo IHave(); var validator = ObjectFactory.GetInstance<IVal idator<ProfileActivityElement> >();... more »
By Raif  - Mar 7 - 9 new of 9 messages    

Is it worth to have StructureMap version that's compatible with 3.5 Client Profile and Silverlight? 
  I may be the only one thinking it's useful, but still - I'm thinking about supporting extra branch of StructureMap that will compile under 3.5 client profile (that would be extremely useful for destop app developers) and - may be - Silverlight. The thing is - I don't know if StructureMap is popular among guys that... more »
By Gleb Chermennov  - Mar 6 - 18 new of 18 messages    

Different Constructors to be Used for structure map based on calling code. Is it possible? 
  I have some code added to the Registry that looks like the following (you can assume MyClass implements IMyInterface) For<IMyInterface>().AlwaysUniq ue().TheDefault.Is.Constructed By(s => { if (s.ParentType == null) return new MyClass... more »
By JakeP  - Mar 5 - 1 new of 1 message    

explicit declaration does not override scan 
  I have a registry that scans a couple assemblies. However, for some of those interfaces found it needs to use a specific class, not the one that implements the convention IMyObject -> MyObject. so after the scan I say For().Use(); however in the AssertConfigurationIsValid Method it blows up saying bla bla... more »
By Raif  - Mar 5 - 6 new of 6 messages    

StructureMap 3 Progress Report 
  Finally have something worth talking about: [link] Feedback and any other ideas for new feature work is certainly welcome. Thanks, Jeremy
By Jeremy Miller  - Feb 25 - 1 new of 1 message    

1 - 10 of 917   « Newer | Older »

XML       Send email to this group: structuremap-users@googlegroups.com