PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Configuration Namespace / Aspect­Configuration Class / Aspect­Configuration Properties / Aspect­Configuration.​Aspect­Priority Property

AspectConfiguration.AspectPriority Property

Gets or sets the aspect priority. Aspects with smaller priority are processed first. The default priority is zero.

Namespace:  PostSharp.Aspects.Configuration
Assembly:  PostSharp (in PostSharp.dll) Version: (
public Nullable<int> AspectPriority { get; set; }

Property Value

Type: Nullable<Int32>
Whenever possible, use dependencies (Dependencies collection) to specify the ordering of aspects. Unlike priorities, dependencies scale up in complexity, which can be important in larger projects.
See Also