Class InitializerKind
Namespace: Metalama.Framework.Advising
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class InitializerKind : Enum
Fields
Name | Description |
---|---|
AfterDeserialize | Indicates that the advice should be executed when the instance of a target class is deserialized. |
AfterLastInstanceConstructor | Indicates that the advice should be executed after all constructors are finished but before the initialization block. |
AfterMemberwiseClone | Indicates that the advice should be executed when the instance of a target class is cloned. |
AfterObjectInitialization | Indicates that the advice should be executed after all constructors are finished and after the initialization block. |
AfterWith | Indicated that the advice should be executed when the the target value type is mutated using the "with" expression. |
BeforeInstanceConstructor | Indicates that the advice should be executed before any user code in all instance constructors except those that are chained to a constructor of the current class (using the |
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. |
value__ |