If you don’t know what the purpose of an export provider in MEF is, then I recommend you to read "Using ExportProvider to customize container behavior Part I" by Glenn Block for an in-depth description. The short version is that the export providers it so serve exports to the composition container. In this post I am going to show how to create an export provider which serves instances of objects by allowing you to directly register them for a specific contract. The export provider can then be passed to the composition container and provide known exports.
|
3
shouts |
|
|||
No comments yet, be the first one to post comment.