CSharpFeeds - All your C# feeds in one place.

Tuesday, November 01, 2011

Getting started with convention-based part registration in MEF ‘version 2’ [Nick]

by BCL Team via BCL Team Blog on 11/1/2011 6:14:00 PM

This post discusses features in the preview version of MEF, and some details may change between now and the full release. MEF ‘version 1’ uses attributes to describe how a type should be handled for composition purposes. [Export, PartCreationPolicy(CreationPolicy.NonShared)] public class HomeController : Controller { [ImportingConstructor] public HomeController(/* Dependencies here */) { … } public ActionResult Index() { … } } ...

[ read more ]

Getting started with convention-based part registration in MEF 2 [Nick]

by BCL Team via BCL Team Blog on 11/1/2011 6:14:00 PM

This post discusses features in the preview version of MEF, and some details may change between now and the full release. MEF ‘version 1’ uses attributes to describe how a type should be handled for composition purposes. [Export, PartCreationPolicy(CreationPolicy.NonShared)] public class HomeController : Controller { [ImportingConstructor] public HomeController(/* Dependencies here */) { … } public ActionResult Index() { … } } ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us