I have a singleton Model and ViewModel objects and would like to programmatically create and attach WPF views to them, one at a time. Views can be created dynamically, say by selecting a menu item (so
are there any ways to cancel Application.Current.Shutdown(); background: i played with mef a little bit and put some plugins to my main app. if any plugin call
I\'m researching MEF as a solution to plug-in resolution in our existing .NET Application. In all of the examples that I can find, the main application creates an instance of the CompositionContainer
With MEF, I compose my DLL I work with my DLL I recompose without this DLL I want to delete it // => it doesn\'t work
Take a look at this code : public class Program { [import]IMain Main {get; set;} ... private Compose() {...}
(I know about the other MEF/MAF questions but this is a more specific problem) I want to create a WPF application that will basically be just a simple add-in host, GUI and settings. All of the actual
I have the following scenario in Silverlight 4: I have a notifications service Snippet [InheritedExport]
Simple question. So MEF doesn\'t support importing or exporting loose files (such as xml files) etc. However, it should at least support embedded resources right?
Now that I\'m working on my newer application that uses MEF with the MVVM light toolkit, I\'ve run into a case where I can\'t load specific plugins because they rely on a part that isn\'t getting expo
I want to use MEF with asp.net mvc. I wrote following controller factory: public class MefControllerFactory : DefaultControllerFactory