© { JSL }
127
Text Box: Multiple Tags
Multiple Tags
·decide whether to allow multiple tags
wuse named parameter, AllowMultiple = true
[AttributeUsage(AttributeTargets.Class |
                ..., AllowMultiple = true)]
public sealed class DeveloperAttribute :
    System.Attribute
{
    ...
    public DeveloperAttribute(string name)
    {
        ...
    }
    ...
}
[DeveloperAttribute("Jon Jagger")]
[DeveloperAttribute("Patrick Jagger")]
public struct ConstInt
{
    ...
}