AdviceWeaver Class |
An object that knows how to process a specific advice. Advice weavers must be associated to advice custom attributes
using BindAdviceWeaver<TAttribute, TImpl>(). An AdviceWeaver is associated
with a concrete advice type and is independent from advice usage, i.e. independent from the AspectWeaverInstance.
System.Object
PostSharp.Sdk.AspectWeaver.AdviceWeaver
PostSharp.Sdk.AspectWeaver.GroupingAdviceWeaver
PostSharp.Sdk.AspectWeaver.AdviceWeaver
PostSharp.Sdk.AspectWeaver.GroupingAdviceWeaver
Namespace: PostSharp.Sdk.AspectWeaver
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
C#
public abstract class AdviceWeaver
The AdviceWeaver type exposes the following members.
Name | Description | |
---|---|---|
AdviceWeaver | Initializes a new instance of the AdviceWeaver class |
Name | Description | |
---|---|---|
AdviceGroups | ||
AspectWeaver |
Gets the parent AspectWeaver.
| |
DefaultLinesOfCodeAvoided | ||
RequiresRuntimeInstance |
Determines whether the current AdviceWeaver requires
an instance of the aspect at runtime.
| |
RequiresRuntimeReflectionObject |
Determines whether the current AdviceWeaver requires
a reflection object representing the target of the aspect.
|
Name | Description | |
---|---|---|
CreateAdviceGroup |
Creates an empty AdviceGroup where advices handled by the current AdviceWeaver
will be added.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetGroupingKey | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Initializes the current AdviceWeaver.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateAdvice |
Validates an advice annotation.
|