Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is included in MEF 2?

Tags:

mef

mef2

I see work is still going on with new features on MEF (MEF Codeplex site) and they are shipping MEF 2 beta releases, however they do not have any decent documentation on what the new features are experimenting/exploring/building?

So, what are the new features (in a little bit of detail please, a sentance or two for each would be great) that are part of MEF 2?

like image 417
Robert MacLean Avatar asked Sep 12 '11 10:09

Robert MacLean


People also ask

What are MEF services?

MEF is a global industry association of network, cloud, and technology providers. Together, we drive network transformation to power the digital economy. We provide a framework for digital service providers to develop, monetize, and scale services across an automated, inter-connected ecosystem.

What is MEF2 in biology?

MEF2 (Myocyte Enhancer Factor 2) Is Essential for Endothelial Homeostasis and the Atheroprotective Gene Expression Program | Arteriosclerosis, Thrombosis, and Vascular Biology.

What does MEF stand for in telecom?

The MEF, as the defining body for Carrier Ethernet, is a global industry alliance comprising more than 220 organizations including telecommunications service providers, cable MSOs, network equipment/software manufacturers, semiconductors vendors and testing organizations.


2 Answers

I know one big feature is support for open generics. This allows us to import parts that look like this:

IRepository<T>
{

}

using an import that looks like this

[Import(typeof(IRepository<>))]
private IRepository<Users> userRepository;
like image 113
Brian O Avatar answered Oct 11 '22 08:10

Brian O


From the preview documentation

  • Support for generic types.
  • Convention-based programming model that enables you to create parts based on naming conventions rather than attributes.
  • Multiple scopes.
like image 45
Robert MacLean Avatar answered Oct 11 '22 06:10

Robert MacLean