PostSharp.Aspects.Dependencies Namespace |
This namespace contains types and custom attributes that allow to define dependencies between aspects and advices, so that the aspect weaver behaves determistically even if the same element of code is the target of several aspects provided by multiple vendors.

Class | Description | |
---|---|---|
![]() | AdviceDependencyAttribute |
Specifies an aspect dependency matching an advice of the same aspect instance.
|
![]() | AspectDependencyAttribute |
Base class for all custom attributes defining aspect dependencies. An aspect dependency determines the
behavior of aspects or advices when used in conjunction with other aspects and advices.
Aspect dependencies determine ordering, requirements, conflicts, and commutativity of aspects and advices.
|
![]() | AspectDependencyAttributeCollection |
Collection of AspectDependencyAttribute.
|
![]() | AspectEffectDependencyAttribute |
Specifies an aspect dependency matching aspects or advices having a given effect.
|
![]() | AspectRoleDependencyAttribute |
Specifies an aspect dependency matching aspects or advices that are a part of a given role.
|
![]() | AspectTypeDependencyAttribute |
Specifies an aspect dependency matching aspects of a specified type, and all its advices.
|
![]() | ProvideAspectRoleAttribute |
Specifies that the aspect or aspect advice to which this custom attribute is applied is a
part of a given role. This aspect or advice can then be matched by AspectRoleDependencyAttribute/
|
![]() | StandardEffects |
List of standard effects.
|
![]() | StandardRoles |
List of standard roles.
|
![]() | WaiveAspectEffectAttribute |
Declares that the aspect class or advice to which this custom attribute is applied
is exempt of a given effect.
|

Enumeration | Description | |
---|---|---|
![]() | AspectDependencyAction |
Enumeration of the different kinds of relationships of specified by aspect dependencies.
|
![]() | AspectDependencyPosition |
Enumeration of the direction of the relationship specified by an aspect dependency.
|
![]() | AspectDependencyTarget |