MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ExtensibilityMulticast­Attribute­Usage­AttributeAllow­Multiple
Open sandboxFocus

MulticastAttributeUsageAttribute.AllowMultiple Property

AllowMultiple

Metalama always allows multiple attributes, but only one is actually processed. The other instances are exposed in builder.AspectInstance.SecondaryInstances. It is up to the BuildAspect(IAspectBuilder<T>) implementation to handle the situation with many aspects.

Declaration
public bool AllowMultiple { get; set; }
Property Value
Type Description
System.Boolean