structuremap
StructureMap stub injection
I\'m using StructureMap and trying to register a temporary implementation for an interface (a stub). After reading this article I came up with the following setup:[详细]
2023-04-05 00:20 分类:问答Register named instance in ObjectFactory
I try to register named instances in structure map. But my trials are not successful. What is the correct way?[详细]
2023-04-05 00:12 分类:问答Is it possible to have no references of NHibernate in my Services project?
I have a Data project that has all my nhibernate mappings, and my Repositories like: public class Repository<T> : IRepository<T>[详细]
2023-04-04 21:27 分类:问答Why isn't structuremap picking up my HomeController?
This is asp.net mvc3. When I try and go to my home/index action: public class HomeController : Controller[详细]
2023-04-04 05:16 分类:问答Structure map .Ignore a type while verifying the container
I am getting this error while verifying my Structuremap configuration using container.AssertConfigurationIsValid() in my UnitTes开发者_StackOverflow中文版t.[详细]
2023-04-04 02:29 分类:问答how OnCreationForAll method works in structormap registry?
I need to register all implementation of an interface via structur map, the problem I have is that these instances does not have the default ctor , i need to inject a depend开发者_JAVA技巧ency when i[详细]
2023-04-03 20:50 分类:问答StructureMap container with constructor parameters
I have a class, RepositoryManager, and I am using this class in some of my controllers: public RepositoryManager[详细]
2023-04-03 18:29 分类:问答Entity framework context and structure map disposing
I have strange problem with disposing entity framework connection in asp.net mvc application. I have simple structure for example :[详细]
2023-04-03 03:52 分类:问答Equivalent of Windsor Depends on in structureMap
How to inject the Construtor Arguments dynamically in the structureMap Something like Windsor Dependson where i can Pass开发者_开发百科 all the Property[] to it.. Even AutoFac has Resolveparamter..I a[详细]
2023-04-02 20:08 分类:问答Ways of keeping configuration code out of logic code using Dependency Injection
How can keep all the configuration file code out of my logic code using Settings (ApplicationSettingsBase) and Dependency Injection?[详细]
2023-04-02 17:47 分类:问答