PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Weaver­Transformation­Adder Class / Aspect­Weaver­Transformation­Adder Methods / Aspect­Weaver­Transformation­Adder.​Add­Null­Transformation Method / Aspect­Weaver­Transformation­Adder.​Add­Null­Transformation Method (IMetadata­Declaration, String, IEnumerable(Aspect­Dependency))

AspectWeaverTransformationAdder.AddNullTransformation Method (IMetadataDeclaration, String, IEnumerable<AspectDependency>)

Adds a null transformation, i.e. a transformation doing nothing, and specifies its display name and a set of dependencies.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public void AddNullTransformation(
	IMetadataDeclaration targetElement,
	string displayName,
	IEnumerable<AspectDependency> dependencies
)

Parameters

targetElement
Type: PostSharp.Sdk.CodeModel.IMetadataDeclaration
Declaration to which the transformation should be added.
displayName
Type: System.String
Human-readable name of the transformation.
dependencies
Type: System.Collections.Generic.IEnumerable<AspectDependency>
Set of dependencies applying to the transformation.
See Also