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

Is it a BUG in the metadata definition?

Jan 12, 2010 at 6:50 PM

if you decorate custome metadata attribute to allow multiple it fail to compose (bring zero results)

when i remove the allow multiple it is working fine.

[AttributeUsage (AttributeTargets.Class, AllowMultiple=true)]

here is a code snippet that ilustrate the problem

Jan 12, 2010 at 7:16 PM
Edited Jan 12, 2010 at 7:17 PM

Actually the problem lies in your metadata interface. When AllowMultiple is set to true then the metadata interface properties need to be collections (either arrays or IEumerable<T>).

Jan 12, 2010 at 8:22 PM