Terminology

Let's start by explaining the terminology that we will use throughout this chapter.

  • Parts: Parts are components of your application that MEF can compose together. For example, say that you have a shell application that hosts modules, where the shell application and the modules are loosely coupled, with MEF providing the modules to the shell application at runtime. In this scenario, both the shell application and the modules can be considered parts. Parts are the classes that provide services to other parts, which we'll refer to as exports, and/or consume services from other parts, which we'll refer to as imports. In doing so, they enable MEF to discover them and compose them together.
  • Exports and imports: A part provides services ...

Get Pro Business Applications with Silverlight 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.