For all exports, or just a selection?
The former, I'm not sure about. There are a couple of days to achieve the
latter.
If you're using conventions, you can do this in an Export(x => ...)
statement using AddMetadata().
If you're using attributes only, a custom MetadataAttribute can do this.
Let us know which approach you're using and with what version of MEF.
Cheers,
Nick
The former, I'm not sure about. There are a couple of days to achieve the
latter.
If you're using conventions, you can do this in an Export(x => ...)
statement using AddMetadata().
If you're using attributes only, a custom MetadataAttribute can do this.
Let us know which approach you're using and with what version of MEF.
Cheers,
Nick