unity-container
Unity/Caliburn Micro, Injection Constructor with multiple parameters
I am currently trying to learn how to implement MVVM using Unity and Caliburn Micro. After looking around for help elsewhere I am still unsure about how to set up the Constructor Injection properly. I[详细]
2023-03-16 22:49 分类:问答Avoiding Service Locator Antipattern with legacy app not designed for IOC
I have read often that Service Locators in IOC are an anti-pattern. Last year we introduced IOC (Ninject specifically) to our application at work. The app is legacy, it\'s very big and it\'s fragmen[详细]
2023-03-16 20:06 分类:问答The injection configuration for parameter <parameter> is specified through both attributes and child value elements
I\'m getting this error when trying to resolve a type: public sealed class CustomApplicationUpdateProvider : ApplicationUpdateProvider[详细]
2023-03-15 17:37 分类:问答Strategy for using command line args with Unity DI?
I\'m using the Unity framework to inject a ConfigurationProvider into some of my classes via the following interface:[详细]
2023-03-15 04:57 分类:问答How to intercept the call to the matched method?
Below is my configuration, and I want to intercept the call to the matched method. What should I do to add the match methods?[详细]
2023-03-15 00:46 分类:问答Unity and OData (WCF Data Services)
I am trying to use Unity with my WCF Data Service (OData).I have code that looks like this: public class PatientService : DataService<IPatientRepository>[详细]
2023-03-14 22:24 分类:问答deploying global.asax to sharepoint 2010 in an enterprise environment to enable unity DI container
Working on a SharePoint project I\'m trying to use Unity as a dependency injection container. My first idea to get this container running is using the global.asax as described in the best practices b[详细]
2023-03-14 19:27 分类:问答How can I divide unity configuration section into several files?
In my project there is some common package which gets its dependencies resolved by the UnityContainer which is defined in unity.config file.[详细]
2023-03-14 13:47 分类:问答Linq to SQL with Unity Interception
I am using Linq-to-SQL with Unity in a Repository pattern.I am trying to add an in开发者_开发知识库terceptor for object security on the repository method [Securable]IQueryable<TEntity> List<T[详细]
2023-03-14 07:53 分类:问答Can I use Ninject insted of PRISM? or maybe it sould replace Unity in PRISM?
I\'m going to start an pretty large project witch contains 30+ modules, I have goggled almost for acapable framework ?开发者_如何学Go Need some help to find out witch one of these is soutable?[详细]
2023-03-13 13:54 分类:问答
加载中,请稍侯......