PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Aspect­Initialization­Reason Enumeration

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: (
public enum AspectInitializationReason
  Member nameValueDescription
None0 None.
Manual1 Manual call of the InitializeAspects method.
Constructor2 Call from the instance constructor.
Clone3 Call from MemberwiseClone.
Deserialize4 Call during deserialization.
See Also