AdviceDependencyAttribute Class |
System.Attribute
PostSharp.Aspects.Dependencies.AspectDependencyAttribute
PostSharp.Aspects.Dependencies.AdviceDependencyAttribute
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
public sealed class AdviceDependencyAttribute : AspectDependencyAttribute
The AdviceDependencyAttribute type exposes the following members.
Name | Description | |
---|---|---|
AdviceDependencyAttribute(AspectDependencyAction, String) |
Initializes a new AdviceDependencyAttribute without specifying the position,
implicitly set to Any.
| |
AdviceDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, String) |
Initializes a new AdviceDependencyAttribute and specifies a position.
|
Name | Description | |
---|---|---|
Action |
Gets the dependency action, i.e. the kind of relationship specified by the dependency
(Order, Require,
Conflict, or Commute).
(Inherited from AspectDependencyAttribute.) | |
AdviceMethodName |
Gets the name of the method implementing the advice.
| |
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.) | |
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.) | |
Target | (Inherited from AspectDependencyAttribute.) | |
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.) |