Custom attribute that, when applied to a method of an aspect class, specifies that this method should be invoked whenever the aspect instance needs to be initialized. The target method must have a void return value and have a single parameter of type AspectInitializationReason. This method is equivalent to RuntimeInitializeInstance()
Assembly: PostSharp (in PostSharp.dll) Version: 126.96.36.199 (188.8.131.52)
public sealed class InitializeAspectInstanceAdvice : Advice
Thetype exposes the following members.
Initializes a new instance of theclass
A human-readable description of the current advice.(Inherited from Advice.)
Reduction in the code lines count achieved by applying the advice instance to one code element.(Inherited from Advice.)