MetalamaAPI documentationAspect APIMetalama.​Framework.​AdvisingInitializer­KindBefore­Type­Constructor
Open sandboxFocus

InitializerKind.BeforeTypeConstructor Field

Indicates that the advice should be executed before the type constructor (aka static constructor) of the target type. If there is no type constructor, this advice adds one.

Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
public const InitializerKind BeforeTypeConstructor
Returns
Type Description
InitializerKind