Sponsored By Aspose - File Format APIs for .NET

Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!

Category Archives: Generics

Open-generic support in MEF Contrib

A while ago I said it couldn’t be done, at least without hacky string parsing. Folks weren’t happy and they let us know it including Oren. Our team know the power that open-generic support brings to systems, but at the … Continue reading 

Also posted in MEF | 5 Comments

Why doesn’t MEF support open-generics for exports? Because MEF is not type based.

Update: We’ve posted an extension for doing open generics in MEF contrib. Read about it here: http://codebetter.com/blogs/glenn.block/archive/2009/08/20/open-generic-support-in-mef.aspx I get this question all the time. Recently it popped it’s head on the forums in this thread (which I referred to in … Continue reading 

Also posted in MEF | 5 Comments