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

AspectWeaverTransformationInstance.AddDependency Method

Adds a new AspectDependency to the current transformation.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected void AddDependency(
	AspectDependency dependency
)

Parameters

dependency
Type: PostSharp.Sdk.AspectInfrastructure.AspectDependency
The additional dependency.
See Also