PostSharp SDK 6.7 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Transformation­Instance Class

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.
Inheritance Hierarchy

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 AspectWeaverTransformationInstance : IDependencyTransformationInstance, 
	ITransformationInstance, IAspectDependencyObject, IPriorityAwareDependencyObject

The AspectWeaverTransformationInstance type exposes the following members.

Constructors
  NameDescription
Protected methodAspectWeaverTransformationInstance(AspectWeaverTransformation, AspectWeaverInstance)
Initializes a new AspectWeaverTransformationInstance.
Protected methodAspectWeaverTransformationInstance(AspectWeaverTransformation, AspectWeaverInstance, SymJoinPointAttributes)
Initializes a new AspectWeaverTransformationInstance.
Properties
  NameDescription
Public propertyAspectWeaver
Gets the parent AspectWeaver.
Public propertyAspectWeaverInstance
Gets the parent AspectWeaverInstance.
Public propertyIsCommutative
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.
Protected propertySymJoinPointAttributes
A customizable "metadata" for this aspect weaver transformation instance.
Public propertyTransformation
Gets the parent AspectWeaverTransformation.
Methods
  NameDescription
Protected methodAddDependency
Adds a new AspectDependency to the current transformation.
Protected methodAddSymJoinPoint(TransformationContext)
Adds a join point to the symbol file for the current transformation given a TransformationContext.
Protected methodAddSymJoinPoint(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.
Protected methodAddSymJoinPoint(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.
Protected methodAddSymJoinPoint(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.
Protected methodAddSymJoinPoint(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.
Protected methodAddSymJoinPoint(MetadataDeclaration, MethodSemantics, Int32, SymJoinPointAttributes) Obsolete.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetDisplayName
Gets a human-readable description of the current transformation.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasEffect
Determines whether the current transformation has a given effect.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
See Also