This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
PostSharp.Aspects.Dependencies Namespace
The PostSharp.Aspects.Dependencies 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.
Classes
  ClassDescription
Public classAdviceDependencyAttribute
Specifies an aspect dependency matching an advice of the same aspect instance.
Public classAspectDependencyAttribute
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.
Public classAspectDependencyAttributeCollection
Collection of AspectDependencyAttribute.
Public classAspectEffectDependencyAttribute
Specifies an aspect dependency matching aspects or advices having a given effect.
Public classAspectRoleDependencyAttribute
Specifies an aspect dependency matching aspects or advices that are a part of a given role.
Public classAspectTypeDependencyAttribute
Specifies an aspect dependency matching aspects of a specified type, and all its advices.
Public classProvideAspectRoleAttribute
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/
Public classStandardEffects
List of standard effects.
Public classStandardRoles
List of standard roles.
Public classWaiveAspectEffectAttribute
Declares that the aspect class or advice to which this custom attribute is applied is exempt of a given effect.
Enumerations
  EnumerationDescription
Public enumerationAspectDependencyAction
Enumeration of the different kinds of relationships of specified by aspect dependencies.
Public enumerationAspectDependencyPosition
Enumeration of the direction of the relationship specified by an aspect dependency.
Public enumerationAspectDependencyTarget
Enumeration of targets (Default or Type) to which the aspect dependency apply.