PostSharp6.0/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: 6.1.6.0 (6.1.6.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