PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Aspect­Dependency Class / Aspect­Dependency Constructor

AspectDependency Constructor

Overload List
  NameDescription
Public methodAspectDependency(AspectDependencyAction, AspectDependencyCondition)
Initializes a new AspectDependency with default (Any) position.
Public methodAspectDependency(AspectDependencyAction, AspectDependencyPosition, AspectDependencyCondition)
Initializes a new AspectDependency with the given position.
Public methodAspectDependency(AspectDependencyAction, AspectDependencyPosition, AspectDependencyCondition, Boolean)
Initializes a new AspectDependency with the given position and specifies whether a violation of this dependency rule should result in a warning instead of an error.
See Also