I have the following exported function:
Can anyone help with a solution or workaround?
Kind regards
Bright
[Export(typeof(System.Func<object>))]
[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
Bright