Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Module­Initializer­Attribute Class / Module­Initializer­Attribute Constructor

ModuleInitializerAttribute Constructor

Initializes a new ModuleInitializerAttribute.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.48.0 (5.0.48.0)
Syntax
C#
public ModuleInitializerAttribute(
	int order
)

Parameters

order
Type: System.Int32
Order in which the ModuleInitializerAttribute will be executed if the current project contains several initializers. Initializers with smaller values of the order parameter get invoked first.
See Also