MEF achieves its goals through three different, but related, mechanisms:
Dependency injection
Structural matching
Naming and activation
Let’s walk through each of these concepts in an abstract sense and then see how they are physically implemented with MEF.