Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Advising / Initializer­Kind / Before­Type­Constructor

Field BeforeTypeConstructor

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