Support equivalent of IQueryable<ComposablePartDefinition> Parts in System.Composition
System.ComponentModel.Composition (MEF1) has the ability to list available Parts through System.ComponentModel.Composition.Primitives. It would be useful to have this ability in System.Composition (MEF2).
If possible, since there could be multiple [Export]s for the same type, it would be great to be able to query also by [Export] name.
I agree with you, this feature is important when we want to query implementation of an interface for sample and offer a way to choose the implementation (via a gui for sample). The ConfigurationContainer contains an internal method where the info is there, can you do this public?
Can you make write up the suggested API and behavior?
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.
This process is part of our issue cleanup automation.
This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.