I am a Silverlight programmer trying my hands at WPF4. In Silverlight 4 while using MEF we write CompositionInialiser.SatisfyImports(this) which allows the MEF 开发者_运维技巧to discover parts and plu
I have a host WinForm application extended with UserControls. Composition and instantiati开发者_如何学Goon work great on initial startup. When I close the user control, I want to assume that it should
I\'m not sure the best way to get this accomplished. Here\'s my view: public partial class MyPage : Page
I have silverlight 4 application with PRISM 4, I\'m using MEF. My Shell defines one main region in which modules are loaded, I want modules to have their own RegionManager, so regions that they defin
I am currently developing a WCF service that will evolve over time to include new DTOs. I am currently using MEF withing the service implementation to export the webservice object. I have the WCF serv
Factory.CreateExport() create\'s a ExportLifetimeContext<T> Is there any way to actually pass in a parameter to it so it creates it with a parameter. I found some example code that wasn\'t exa
Basically, is there an easy way to dispose of the imports that are created by an ExportFactory<T>? The reason I ask is because the exports usually contain a reference to something that is still
I have an interface: [InheritedExport(typeof(IMetric))] public interface IMetric { ... } I have a Meta attribute interface:
I am trying to use MEF in my application, but I have problem with the Import. [Import (typeof(IUserServices ))]
i am beginner in MEF. i write this code but i cant understand why program show this result. namespace ConsoleApplication1