PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesAspect­Dependency­Action
Open sandboxFocus

AspectDependencyAction Class

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

Inheritance
AspectDependencyAction
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class AspectDependencyAction : Enum
Remarks

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












Action Position Description
Order After The current aspect or advice should be positioned after the other aspect or advice matched by the custom attribute.
Order Before The current aspect or advice should be positioned before the other aspect or advice matched by the custom attribute.
Require Any The current aspect or advice requires another aspect or advice matched by the custom attribute, at any position.
Require After The current aspect or advice requires another aspect or advice matched by the custom attribute positioned after the current one.
Require Before The current aspect or advice requires another aspect or advice matched by the custom attribute positioned before the current one.
Conflict Any The current aspect or advice conflicts with any aspect or advice matched by the custom attribute, at any position.
Conflict After The current aspect or advice conflicts with any aspect or advice matched by the custom attribute, if positioned after the current one.
Conflict Before The current aspect or advice conflicts with any aspect or advice matched by the custom attribute, if positioned before the current one.
Commute The current aspect or advice commute with any other aspect or advice matched by the custom attribute.

Fields

Name Description
Commute

The dependency specifies that the current aspect or advice commutes with another aspect or advice.

Conflict

The dependency specifies that the current aspect or advice conflicts with another aspect or advice.

None

The dependency is ignored.

Order

The dependency specifies an order relationship.

Require

The dependency specifies that the current aspect or advice requires another aspect or advice.

value__