AspectWeaverTransformationInstance Class |
Extension of the AspectWeaverTransformation class that is specific to an aspect instance; an aspect instance
(AspectWeaverInstance) appears when an aspect type is applied to an element of code.
System.Object
PostSharp.Sdk.AspectWeaver.AspectWeaverTransformationInstance
PostSharp.Sdk.AspectWeaver.Transformations.MethodBodyTransformationInstance
PostSharp.Sdk.AspectWeaver.Transformations.StructuralTransformationInstance
PostSharp.Sdk.AspectWeaver.AspectWeaverTransformationInstance
PostSharp.Sdk.AspectWeaver.Transformations.MethodBodyTransformationInstance
PostSharp.Sdk.AspectWeaver.Transformations.StructuralTransformationInstance
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 AspectWeaverTransformationInstance : IDependencyTransformationInstance, ITransformationInstance, IAspectDependencyObject, IPriorityAwareDependencyObject
The AspectWeaverTransformationInstance type exposes the following members.
Name | Description | |
---|---|---|
AspectWeaverTransformationInstance(AspectWeaverTransformation, AspectWeaverInstance) |
Initializes a new AspectWeaverTransformationInstance.
| |
AspectWeaverTransformationInstance(AspectWeaverTransformation, AspectWeaverInstance, SymJoinPointAttributes) |
Initializes a new AspectWeaverTransformationInstance.
|
Name | Description | |
---|---|---|
AspectWeaver |
Gets the parent AspectWeaver.
| |
AspectWeaverInstance |
Gets the parent AspectWeaverInstance.
| |
IsCommutative |
Determines whether the current object is commutative with any other object, irrespective of dependencies or effects.
If yes, then PostSharp can apply it in any order with respect to other objects.
| |
SymJoinPointAttributes |
A customizable "metadata" for this aspect weaver transformation instance.
| |
Transformation |
Gets the parent AspectWeaverTransformation.
|
Name | Description | |
---|---|---|
AddDependency |
Adds a new AspectDependency to the current transformation.
| |
AddSymJoinPoint(TransformationContext) |
Adds a join point to the symbol file for the current transformation given a TransformationContext.
| |
AddSymJoinPoint(TransformationContext, SymJoinPointAttributes) |
Adds a join point to the symbol file for the current transformation given a TransformationContext,
with the possibility to override the additional attributes of the join point.
| |
AddSymJoinPoint(TransformationContext, String) |
Adds a join point to the symbol file for the current transformation given a TransformationContext,
with the possibility to override the description of the join point.
| |
AddSymJoinPoint(MetadataDeclaration, MethodSemantics, SymJoinPointAttributes) |
Adds a join point to the symbol file for the current transformation,
with the possibility to override the description of the join point.
| |
AddSymJoinPoint(MetadataDeclaration, MethodSemantics, Int32) |
Adds a join point to the symbol file for the current transformation, using GetDisplayName(MethodSemantics) to
get the description of the join point.
| |
AddSymJoinPoint(MetadataDeclaration, MethodSemantics, Int32, SymJoinPointAttributes) | Obsolete. | |
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.) | |
GetDisplayName |
Gets a human-readable description of the current transformation.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasEffect |
Determines whether the current transformation has a given effect.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Overrides Object.ToString().) |