PointcutAwareAdviceGroup Class |
An AdviceGroup where the master advice must be annotated with a Pointcut.
System.Object
PostSharp.Sdk.AspectWeaver.AdviceGroup
PostSharp.Sdk.AspectWeaver.PointcutAwareAdviceGroup
PostSharp.Sdk.AspectWeaver.AdviceGroup
PostSharp.Sdk.AspectWeaver.PointcutAwareAdviceGroup
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract class PointcutAwareAdviceGroup : AdviceGroup
The PointcutAwareAdviceGroup type exposes the following members.
Name | Description | |
---|---|---|
PointcutAwareAdviceGroup |
Initializes a new PointcutAwareAdviceGroup.
|
Name | Description | |
---|---|---|
Advices |
Gets the collection of annotations (custom attributes) in the current AdviceGroup.
(Inherited from AdviceGroup.) | |
AdviceWeaver |
Gets the parent AdviceWeaver.
(Inherited from AdviceGroup.) | |
Dependencies |
Gets the collection of dependencies of the current AdviceGroup.
(Inherited from AdviceGroup.) | |
GroupKey |
Gets the key of the current AdviceGroup.
(Inherited from AdviceGroup.) | |
IsValid | (Inherited from AdviceGroup.) | |
MasterAdvice | (Inherited from AdviceGroup.) | |
SupportsAdviceParameters | (Inherited from AdviceGroup.) | |
WeavingSymbolAttributes |
Gets an aggregated "metadata" values for this advice group.
The result is based on the corresponding values for each advice of the group.
(Inherited from AdviceGroup.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluatePointcuts |
Evaluates all pointcuts associated with the current advice group.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUnsupportedTargetAction |
Gets the value of the UnsupportedTargetAction configuration value for this advice group.
The value determines how the unsupported target elements must be handled by the advice weaver.
| |
Initialize |
Initializes the current AdviceGroup. This method is invoked after the object has been fully set up.
(Overrides AdviceGroup.Initialize().) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PrepareTransformation |
Prepares an AspectWeaverTransformation for use with the current AdviceGroup
by adding relevant dependencies to the transformation.
(Inherited from AdviceGroup.) | |
ProvideTransformations(AspectWeaverInstance, AspectWeaverTransformationAdder) |
Provides the transformation instances necessary to implement the current AdviceGroup.
(Overrides AdviceGroup.ProvideTransformations(AspectWeaverInstance, AspectWeaverTransformationAdder).) | |
ProvideTransformations(AspectWeaverInstance, PointcutMatch, AspectWeaverTransformationAdder) |
Provides the transformation instances necessary to implement the current AdviceGroup for a given target
of the AdviceGroup.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate | (Inherited from AdviceGroup.) | |
ValidateLegacyParameter | (Inherited from AdviceGroup.) | |
ValidateTarget |
Validates the element of code to which an advice has been applied.
|