Specifies an aspect dependency matching an advice of the same aspect instance.
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class AdviceDependencyAttribute : AspectDependencyAttributeConstructors
| Name | Description |
|---|---|
| AdviceDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, string) | Initializes a new AdviceDependencyAttribute and specifies a position. |
| AdviceDependencyAttribute(AspectDependencyAction, string) | Initializes a new AdviceDependencyAttribute without specifying the position, implicitly set to Any. |
Properties
| Name | Description |
|---|---|
| AdviceMethodName | Gets the name of the method implementing the advice. |