PostSharp6.2/API Reference/Post­Sharp.​Aspects.​Dependencies Namespace/Aspect­Dependency­Action Enumeration

AspectDependencyAction Enumeration

Enumeration of the different kinds of relationships of specified by aspect dependencies.

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.11.0 (6.2.11.0)
Syntax
C#
public enum AspectDependencyAction
Members
  Member nameValueDescription
None0 The dependency is ignored.
Order1 The dependency specifies an order relationship.
Require2 The dependency specifies that the current aspect or advice requires another aspect or advice.
Conflict3 The dependency specifies that the current aspect or advice conflicts with another aspect or advice.
Commute4 The dependency specifies that the current aspect or advice commutes with another aspect or advice.
Remarks

The combined values of AspectDependencyAction and AspectDependencyPosition is interpreted as follows:

ActionPositionDescription
OrderAfterThe current aspect or advice should be positioned after the other aspect or advice matched by the custom attribute.
OrderBeforeThe current aspect or advice should be positioned before the other aspect or advice matched by the custom attribute.
RequireAnyThe current aspect or advice requires another aspect or advice matched by the custom attribute, at any position.
RequireAfterThe current aspect or advice requires another aspect or advice matched by the custom attribute positioned after the current one.
RequireBeforeThe current aspect or advice requires another aspect or advice matched by the custom attribute positioned before the current one.
ConflictAnyThe current aspect or advice conflicts with any aspect or advice matched by the custom attribute, at any position.
ConflictAfterThe current aspect or advice conflicts with any aspect or advice matched by the custom attribute, if positioned after the current one.
ConflictBeforeThe current aspect or advice conflicts with any aspect or advice matched by the custom attribute, if positioned before the current one.
CommuteThe current aspect or advice commute with any other aspect or advice matched by the custom attribute.
See Also