mef
On Demand module loading with MEF Prism and Silverlight
Hi I have a Silverlight application I\'ve designed using MVVM patterns and Prism. It has a number of modules that I would only like to load once the user has authenticated.[详细]
2023-04-04 08:53 分类:问答composing MEF parts in C# like a simple Funq container
In Funq and probably most other IoC containers I can simply do this to configure a type: container.Register<ISomeThing>(c => new SomeThing());[详细]
2023-04-03 22:48 分类:问答MVC 3 And MEF and adding plug-ins to main application
I am a newbie to MEF and I am really mixed up! There are lot of useful articles out there and neat question and answers here in stackoverflow. I downloaded the example which @matthew-abbott has upload[详细]
2023-04-03 22:45 分类:问答Using generics in C#
I have the following in a Silverlight 4 MVVM project. I have several methods such as DeleteTeacher(p), DeleteRecordOfEntity2(p),... etc in my viewmodel which can delete, for example, a teacher from a[详细]
2023-04-03 19:33 分类:问答Cannot Load implementations of interfaces from EXTERNAL DLL
This is my Compose part where I see the in dir Catalog THE RIGHT NUMBER that should be loaded , as well in asmCatalog.[详细]
2023-04-03 04:19 分类:问答MEFContrib.MVC3: Exporting Controllers with Base Classes
I have opened up a question on CodePlex but have not received any responses at all. Basically, I have a base controller that all of my controllers inherit from.When I create a new MVC3 project, put m[详细]
2023-04-02 07:54 分类:问答Passing nullable value to a method
How i can pass nullable value to a method [Import(\"Default\", typeof(ISomeInterface), AllowRecomposition = true, AllowDefault = true)][详细]
2023-04-02 04:50 分类:问答Upgraded App that uses SL Media Framework and MVVM-Lite from WP7 to WP7.1
I have a WP7 app that I recently upgraded to WP7.1 (including the MVVM-Lite assemblies) and the SL Media Framework player (SMF) stopped working. I turned on logging in the player and noticed that the[详细]
2023-04-01 19:53 分类:问答Breaking the .NET MEF import chain
For this example you can assume toplevel is importing ClassA.MEF seems to work great as long as you import everything (ie ClassX).Often you don\'t need to import because classB is in same namespace/fi[详细]
2023-04-01 17:45 分类:问答Adding custom container to MEF
I have the following case using MEF . 开发者_如何学JAVAI build my solution by many modules, each module exists in a different dll . I use MEF as a choice to compose all my project.[详细]
2023-04-01 09:09 分类:问答