PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Pointcut­Aware­Advice­Group Class

PointcutAwareAdviceGroup Class

An AdviceGroup where the master advice must be annotated with a Pointcut.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectWeaver.AdviceGroup
    PostSharp.Sdk.AspectWeaver.PointcutAwareAdviceGroup

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
public abstract class PointcutAwareAdviceGroup : AdviceGroup

The PointcutAwareAdviceGroup type exposes the following members.

Constructors
  NameDescription
Protected methodPointcutAwareAdviceGroup
Initializes a new PointcutAwareAdviceGroup.
Properties
  NameDescription
Public propertyAdvices
Gets the collection of annotations (custom attributes) in the current AdviceGroup.
(Inherited from AdviceGroup.)
Public propertyAdviceWeaver
Gets the parent AdviceWeaver.
(Inherited from AdviceGroup.)
Public propertyDependencies
Gets the collection of dependencies of the current AdviceGroup.
(Inherited from AdviceGroup.)
Public propertyGroupKey
Gets the key of the current AdviceGroup.
(Inherited from AdviceGroup.)
Public propertyIsValid (Inherited from AdviceGroup.)
Public propertyMasterAdvice (Inherited from AdviceGroup.)
Protected propertySupportsAdviceParameters (Inherited from AdviceGroup.)
Public propertyWeavingSymbolAttributes
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.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodEvaluatePointcuts
Evaluates all pointcuts associated with the current advice group.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize
Initializes the current AdviceGroup. This method is invoked after the object has been fully set up.
(Overrides AdviceGroup.Initialize().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodPrepareTransformation
Prepares an AspectWeaverTransformation for use with the current AdviceGroup by adding relevant dependencies to the transformation.
(Inherited from AdviceGroup.)
Public methodProvideTransformations(AspectWeaverInstance, AspectWeaverTransformationAdder)
Provides the transformation instances necessary to implement the current AdviceGroup.
(Overrides AdviceGroup.ProvideTransformations(AspectWeaverInstance, AspectWeaverTransformationAdder).)
Protected methodProvideTransformations(AspectWeaverInstance, PointcutMatch, AspectWeaverTransformationAdder)
Provides the transformation instances necessary to implement the current AdviceGroup for a given target of the AdviceGroup.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidate (Inherited from AdviceGroup.)
Protected methodValidateLegacyParameter (Inherited from AdviceGroup.)
Protected methodValidateTarget
Validates the element of code to which an advice has been applied.
See Also