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

AspectWeaverTransformationAdder.Add Method

Overload List
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.
See Also