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 comment