PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Transformation­Adder Class

AspectWeaverTransformationAdder Class

Object allowing to implementations of AspectWeaver or AdviceGroup to provide their transformations to the aspect framework.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class AspectWeaverTransformationAdder

The AspectWeaverTransformationAdder type exposes the following members.

Public methodAdd(IMetadataDeclaration, AspectWeaverTransformationInstance)
Adds a transformation and associates it with the set of dependencies in Dependencies.
Public methodAdd(IMetadataDeclaration, AspectWeaverTransformationInstance, AspectDependencyTarget)
Adds a transformation with the default AspectDependencyTarget and specifies whether the transformation should be associated with the set of dependencies in Dependencies or TypeLevelDependencies.
Public methodAddNullTransformation(IMetadataDeclaration)
Adds a null transformation, i.e. a transformation doing nothing.
Public methodAddNullTransformation(IMetadataDeclaration, String, IEnumerable<AspectDependency>)
Adds a null transformation, i.e. a transformation doing nothing, and specifies its display name and a set of dependencies.
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also