PostSharpAPI ReferencePost­Sharp.​Aspects.​DependenciesAspect­Effect­Dependency­Attribute
Open sandboxFocus

Class AspectEffectDependencyAttribute

Specifies an aspect dependency matching aspects or advices having a given effect.

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

Constructors

Name Description
AspectEffectDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, String)

Initializes a new AspectEffectDependencyAttribute and specifies a position.

AspectEffectDependencyAttribute(AspectDependencyAction, String)

Initializes a new AspectEffectDependencyAttribute without specifying the position, implicitly set to Any.

Properties

Name Description
Effect

Gets the effect that the aspects or advices must have in order to match the current dependency.