AspectInitializationReason Enumeration |
Enumerates the reasons why the target method of the InitializeAspectInstanceAdvice has been invoked.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)

C#
public enum AspectInitializationReason

Member name | Value | Description | |
---|---|---|---|
None | 0 | None. | |
Manual | 1 | Manual call of the InitializeAspects method. | |
Constructor | 2 | Call from the instance constructor. | |
Clone | 3 | Call from MemberwiseClone. | |
Deserialize | 4 | Call during deserialization. |
