PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesAdvice­Dependency­Attribute
Open sandboxFocus

AdviceDependencyAttribute Class

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