OnAspectsInitializedAdvice Class |
Custom attribute that, when applied to a method of an aspect class, specifies that this method
should be invoked after the instances of all the aspects applied on the same target has been initialized. The target method
must have a void return value and have a single parameter of type AspectInitializationReason.
System.Object
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.OnAspectsInitializedAdvice
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.OnAspectsInitializedAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public sealed class OnAspectsInitializedAdvice : Advice
The OnAspectsInitializedAdvice type exposes the following members.
Name | Description | |
---|---|---|
OnAspectsInitializedAdvice | Initializes a new instance of the OnAspectsInitializedAdvice class |
Name | Description | |
---|---|---|
Description |
A human-readable description of the current advice.
(Inherited from Advice.) | |
LinesOfCodeAvoided |
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.) |
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |