PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Configuration Namespace/Aspect­Configuration­Attribute Class/Aspect­Configuration­Attribute Properties/Aspect­Configuration­Attribute.​Aspect­Priority Property

AspectConfigurationAttribute.AspectPriority Property

Gets or sets the weaving priority of the aspect.

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public int AspectPriority { get; set; }

Property Value

Type: Int32
The aspect priority, or null if the aspect priority is not specified.
Remarks

Advices with lower priority are executed before in case of 'entry' semantics (entering or invoking a method, setting a field value), but this order is inverted for advices of 'exit' semantics (leaving a method, getting a field value).

This property must not be confused with AttributePriority, which solely influences the multicasting process.

See Also