When to use MEF

Posted by cmaduro on Stack Overflow See other posts from Stack Overflow or by cmaduro
Published on 2010-05-14T23:00:46Z Indexed on 2010/05/14 23:04 UTC
Read the original article Hit count: 415

Filed under:
|
|

I tried Unity and MEF and plain old new. And I am a bit confused as to when exactly you need to use any of these "patterns". Why would I choose to use MEF or Unity if using new is simpler and satisfies my needs.

MyObject a = new MyObject();

In other words, what needs justify the use of MEF or Unity?

© Stack Overflow or respective owner

Related posts about MEF

Related posts about unity