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.
In Funq and probably most other IoC containers I can simply do this to configure a type: container.Register<ISomeThing>(c => new SomeThing());
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
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
This is my Compose part where I see the in dir Catalog THE RIGHT NUMBER that should be loaded , as well in asmCatalog.
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
How i can pass nullable value to a method [Import(\"Default\", typeof(ISomeInterface), AllowRecomposition = true, AllowDefault = true)]
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
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
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.