PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Module­Initializer­Attribute Class / Module­Initializer­Attribute Properties / Module­Initializer­Attribute.​Order Property

ModuleInitializerAttribute.Order Property

Gets the order in which the ModuleInitializerAttribute will be executed if the current project contains several initializers. Initializers with smaller values of the Order property get invoked first.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public int Order { get; }

Property Value

Type: Int32
See Also