المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Reading metadata from exported types with .net framework 3.5



C# Programming
01-16-2013, 10:52 AM
Hello everyone! I would like to know how I can read metadata of exported types using the Managed Extensibility Framework. I am using Visual Studio 2008 with .Net Framework 3.5.

In .Net Framework 4.0, this can be achieved through type 'Lazy' but this is not available in .Net Framework 3.5.

Since 'ExportMetadata' was provided in the version of MEF provided for .Net Framework 3.5, I do believe there is a way of reading the metadata in the framework 3.5 but I don't know how this is done. Any guidance, please?