PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Dependencies Namespace / Aspect­Type­Dependency­Attribute Class / Aspect­Type­Dependency­Attribute Properties
AspectTypeDependencyAttribute Properties

The AspectTypeDependencyAttribute type exposes the following members.

Properties
  Name Description
Public property Action
Gets the dependency action, i.e. the kind of relationship specified by the dependency (Order, Require, Conflict, or Commute).
(Inherited from AspectDependencyAttribute.)
Public property AspectType
Gets the type from which the aspects should be derived in order to match the current dependency.
Public property IsWarning
If true, specifies that the constraint (of type Require or Conflict) should emit a warning instead of an error if not respected.
(Inherited from AspectDependencyAttribute.)
Public property Position
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.
(Inherited from AspectDependencyAttribute.)
Public property Target
Determines the target (Default or Type) to which the aspect dependency apply.
(Inherited from AspectDependencyAttribute.)
Public property TargetType
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.
(Inherited from AspectDependencyAttribute.)
See Also