PostSharp6.3/API Reference/Post­Sharp.​Aspects.​Dependencies Namespace/Aspect­Dependency­Attribute Class/Aspect­Dependency­Attribute Properties

AspectDependencyAttribute Properties

The AspectDependencyAttribute type exposes the following members.

Properties
  NameDescription
Public propertyAction
Gets the dependency action, i.e. the kind of relationship specified by the dependency (Order, Require, Conflict, or Commute).
Public propertyIsWarning
If true, specifies that the constraint (of type Require or Conflict) should emit a warning instead of an error if not respected.
Public propertyPosition
Gets the position of the current dependency, i.e. actually the position of the other aspect or advices with respect to the one related to this dependency.
Public propertyTarget
Determines the target (Default or Type) to which the aspect dependency apply.
Public propertyTargetType
Aspect type to which this dependency applies. This property is required when the custom attribute is applied at assembly level. It is ignored when applied on class or method level.
See Also