PostSharpAPI ReferencePost­Sharp.​ExtensibilityMulticast­AttributeAttribute­Priority
Open sandboxFocus

MulticastAttribute.AttributePriority Property


Gets or sets the priority of the current attribute in case that multiple instances are defined on the same element (lower values are processed before).

public int AttributePriority { get; set; }
Property Value
Type Description

You should use only 16-bit values in user code. Top 16 bits are reserved for the system.

When the multicast attribute is applied via an XML configuration file, the default value is set to 1-based ordinal of the attribute appearance in the XML configuration file. When the multicast attribute is applied in the source code, the default value is 0.