So far I found that MEF is going well with presentation layer with following benefits. a.DI (Dependency Injection)
I have 2 MEF components. Let it be component A and component B. What I need is to be able to access a class from component B in component A without referencing to it. Then I would like to instantiate
I\'d like to create an extension to Visual Studio that will allow someone to select any text in an editor, right-click to get a context menu, and then perform some action on the text by clicking on my
I have a scenario with a WPF application hosting some views (user controls) with their viewmodels, found as MEF exported parts in its plugin folder. The application loads its data together with a conf
I\'m trying to build an extensible application using MEF and fluent Nhibernate as ORM. It was working well until I decided to store the extension assemblies in a seperate fold开发者_JAVA技巧er
I\'m trying to use MEF in my ASP.NET web form (SharePoint) application to load some controls from a directory at runtime. I\'m not getting any error but the controls are not getting loaded.
I\'m trying to put config data from host to plugins but I always get nulls at plugins. My code responsible for plugins is below:
I have this idea to try to use a custom IMPORT attribute to new up a class based on a开发者_高级运维 condition. For example, if I have:
Basically, I\'m worried about a couple of things: [Export] public class FooViewModel : NotificationObject
What is a preferred approach for logging part specific errors with imported parts?E.G. if you have the following contract: