AspectDependency Constructor (AspectDependencyAction, AspectDependencyPosition, AspectDependencyCondition) |
Initializes a new AspectDependency with the given position.
Namespace: PostSharp.Sdk.AspectInfrastructure
Assembly: PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public AspectDependency( AspectDependencyAction action, AspectDependencyPosition position, AspectDependencyCondition condition )
Parameters
- action
- Type: AspectDependencyAction
The kind of aspect dependency. - position
- Type: AspectDependencyPosition
The direction of the dependency (i.e. position of the right object with respect to the left object). - condition
- Type: PostSharp.Sdk.AspectInfrastructure.AspectDependencyCondition
An object evaluating whether a pair of objects is affected by the current AspectDependency.