Open sandboxFocus

Class AdviceDependencyAttribute

Specifies an aspect dependency matching an advice of the same aspect instance.

Inheritance
AdviceDependencyAttribute
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class AdviceDependencyAttribute : AspectDependencyAttribute

Constructors

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.

See Also