I have an interface, called IRepository, with two implementations: SqlRepository SqlDualWriterRepository
Context I\'m looking for a way to build system using PRISM and unity in a Silverlight application so that I can have a use case controller that manages the navigation and other stuff related to a spe
I\'m trying to specify a connection string dynamically based of the url using ninject. I\'m using the ninject.mvc nuget package that uses the webActivator.
There is a property of type Resource in my Spring 3 bean that should be injected with a reference to a file in the classpath. I use the @Value annotation as below to hopefully achieve this.
I have interface IRepository that maps to the class GenericRepository in unity. IOC.Container.RegisterType<IRepository, GenericRepository>();
I am using Unity to instantiate some objects and I\'m finding that no matter what I try, Unity is creating singletons for my objects.
I have a c开发者_JS百科lass with 2 constructors. MyClass() and MyClass(IMyService service) How do I tell StructureMap then whenever I do a \'new MyClass()\' it should actually call the second cons
I\'m using functions instead of classes, and I find that I can\'t tell when another function that it relies on is a dependency that should be individually unit-tested or an internal implementation det
I\'m trying to inject some properties into a parent class and child class, and i\'m facing some problems. I want to have access to the injected commonAddress property from the child, but in the same t
so I think I\'m perhaps not fully understanding how you would use an IOC container for doing Integration tests.