Quantcast
Channel: Managed Extensibility Framework
Viewing all articles
Browse latest Browse all 265

New Post: Windows 8 MEF

$
0
0

You need to do the GetExport on your View since that's what you're exporting. 

 

 

var mainView = _mefContainer.GetExport<MainView>();

...

if (!rootFrame.Navigate(typeof(mainView), args.Arguments))

 

I've got a sample project with MEF and trying to hook it up with Caliburn.Micro. You can see how MEF gets set up at least.

http://caliburnmicro.codeplex.com/discussions/399671


Viewing all articles
Browse latest Browse all 265

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>