3 thoughts on “MEF Part 2 – Metadata and creation policies”

  1. Hi, Nice article and very well explained. But how i can modify the EXPORTMETADATA, the Tmetada part, when i want it “localized”. And an example will be apreciated. Example something like EXPORTMETADATA.
    Thanks in advance

  2. Nice work!, but can this be used to localize ExportMetada(string, object) where object is a string you want to add to some menu item??, something like ExportMetadata(“MenuText”,LocaizedText)???

  3. So based off your above example if I have
    private IEnumerable<Lazy> CarParts { get; set; }

    Can I type cast the metadata object to a calss “CarMetadataAttribute” which implements ICarMetada?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s