AspectDependency Constructor (AspectDependencyAction, AspectDependencyCondition) |
Initializes a new AspectDependency with default (Any)
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, AspectDependencyCondition condition )
Parameters
- action
- Type: AspectDependencyAction
The kind of aspect dependency. - condition
- Type: PostSharp.Sdk.AspectInfrastructure.AspectDependencyCondition
An object evaluating whether a pair of objects is affected by the current AspectDependency.