This project has moved and is read-only. For the latest updates, please go here.

AttributedMemberExportDefinition as public

Dec 29, 2008 at 2:36 PM
Hi MEF Team,

as per implementation AttributedMemberExportDefinition is set as internal.

The case I am asking for this change (to make AttributedMemberExportDefinition public)  is to see which member is ExportDefinition set on.
This way it can be determined if exported definition should be loaded or not.

Thanks & Regards
Jan 3, 2009 at 10:03 AM
Could you please add a bit more context on what you are trying to do?

Thank you
Jan 5, 2009 at 12:09 PM
Hi and thanks for the reply.

I have list of components to be loaded - public ExportCollection<IComponent> Components { get; set; }
by looking at type of Member which is behind component and certain loaded user license I can deterimine if component should be loaded.
As Member is hidden by ExportDefinition I am using reflection to see the type of component.

Please say in case you need more input or an example.