mef
Count number of parts in a MEF container
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[详细]
2023-03-13 09:45 分类:问答Silverlight + Galasoft MVVM Light + MEF loading XAP
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.[详细]
2023-03-13 08:41 分类:问答Plugin that can read and modifying host application objects (MEF)
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[详细]
2023-03-13 05:54 分类:问答Which is better to be used along with Prism4, Unity or MEF as a Dependency Injection Container?
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[详细]
2023-03-13 01:11 分类:问答Why doesn't VS2010 copy all DLLs in /bin/debug to the unit test directory?
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.[详细]
2023-03-12 15:05 分类:问答Unloading dll's from SIlverlights App Domain
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[详细]
2023-03-12 12:49 分类:问答Setting a ViewModel Property Value From XAML
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:[详细]
2023-03-12 11:35 分类:问答CM+MEF: registering MEF exports from external assemblies
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[详细]
2023-03-12 09:32 分类:问答Running MEF on mono
I tried to compile the MEF code copied from this page. using System.ComponentM开发者_如何转开发odel.Composition;[详细]
2023-03-11 19:17 分类:问答PRISM 4 - RegisterViewWithRegion & Custom Export Attributes
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[详细]
2023-03-11 13:02 分类:问答