10
shouts

Random Acts of Coding: LINQing to MEF Imports

posted by JamesEggersJamesEggers 116 days, 9 hours, 17 minutes ago
Thursday, November 19, 2009 1:55:47 PM GMT

At the end of the last post, we looked at how we can explicitly manage our imports and exports using a combination of text-based labels and type declarations.  In addition, we began to look at the ImportMany() attribute for importing more than one value in our extensible application.  Along with the ImportMany(), we looked at looping through the simple example to display the property of each imported type.  This approach isn't bad if the number of imported types are small; however, looping really wouldn'...

tags: C#, Linq, MEF