I messed up in my code - I create lots of short-lifetime objects and use MEF to resolve dependencies. As anyone with some MEF experience knows, MEF holds onto a reference on these guys. The result is
I have an applicati开发者_运维知识库on wich has some \"modules\" so to speak. Each user has permissions to see each module, some don\'t see all some see all.
How i can create plugin that can read and modifying host application objects with MEF? For example, host application has TextBox object. I need create plugin that can read text from TextBox and modifi
I am working on a large billing application for one the Telecom companies using WPF4, the application contains more than 300 screen, and it will contain more than 17 modules, that is why I choose to f
I have a unit test which depends on some code that uses MEF.When I run the test, MEF (I believe) MEF tries to load all dependent DLLs for all the DLLs in the unit test\'s executing directory.
Is it possible to unload a Dll that I previously dynamically loaded into my App? Background/comments: 1.- We have a requirement that third party developers will implement a wizard-like activity that
I have a view that is declared in XAML (see below).The associated view-model is created automatically using MEF.I want to be able to do something like this:
this post ideally continues my other post on MEF plugins, but my first post was too full of comments and this sample is more complete. Here I summarize my updated scenario, with all my findings up to
I tried to compile the MEF code copied from this page. using System.ComponentM开发者_如何转开发odel.Composition;
I am using Prism 4 with MEF Extensions and the MVVM pattern. During initialization in a module I call RegisterViewWithRegion(RegionNames.MyRegion, typeof(MyView)) which works perfectly when the view i