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

Preserve Multiple Metadata Order

Apr 19, 2013 at 11:08 AM
I have the following exported function:
[ExportMetadata("Name", "Name 1", IsMultiple = true)]
[ExportMetadata("Name", "Name 2", IsMultiple = true)]
[ExportMetadata("Name", "Name 3", IsMultiple = true)]
public object TestFunction() {return null;}
Problem is, when the function is imported, the order of the metadata IDictionary<string,object[]> is not preserved according to the order they are declared, which is important in my application.

Can anyone help with a solution or workaround?

Kind regards