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

StructuralTransformationInstance Class

Extension of the StructuralTransformation 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
System.Object
  PostSharp.Sdk.AspectWeaver.AspectWeaverTransformationInstance
    PostSharp.Sdk.AspectWeaver.Transformations.StructuralTransformationInstance

Namespace:  PostSharp.Sdk.AspectWeaver.Transformations
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public abstract class StructuralTransformationInstance : AspectWeaverTransformationInstance, 
	IStructuralTransformationInstance, ITransformationInstance

The StructuralTransformationInstance type exposes the following members.

Constructors
  NameDescription
Protected methodStructuralTransformationInstance(StructuralTransformation, AspectWeaverInstance)
Initializes a new StructuralTransformationInstance.
Protected methodStructuralTransformationInstance(StructuralTransformation, AspectWeaverInstance, SymJoinPointAttributes)
Initializes a new StructuralTransformationInstance.
Properties
  NameDescription
Public propertyAspectWeaver
Gets the parent AspectWeaver.
(Inherited from AspectWeaverTransformationInstance.)
Public propertyAspectWeaverInstance
Gets the parent AspectWeaverInstance.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
Protected propertySymJoinPointAttributes
A customizable "metadata" for this aspect weaver transformation instance.
(Inherited from AspectWeaverTransformationInstance.)
Public propertyTransformation
Gets the parent AspectWeaverTransformation.
(Inherited from AspectWeaverTransformationInstance.)
Methods
  NameDescription
Protected methodAddDependency
Adds a new AspectDependency to the current transformation.
(Inherited from AspectWeaverTransformationInstance.)
Protected methodAddSymJoinPoint(TransformationContext)
Adds a join point to the symbol file for the current transformation given a TransformationContext.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
Protected methodAddSymJoinPoint(MetadataDeclaration, MethodSemantics, Int32, SymJoinPointAttributes) Obsolete. (Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
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.
(Inherited from AspectWeaverTransformationInstance.)
Public methodImplement
Implements the transformation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from AspectWeaverTransformationInstance.)
See Also