Open sandboxFocus

Class AspectTypeDependencyAttribute

Specifies an aspect dependency matching aspects of a specified type, and all its advices.

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

Constructors

Name Description
AspectTypeDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, Type)

Initializes a new AspectTypeDependencyAttribute and specifies a position.

AspectTypeDependencyAttribute(AspectDependencyAction, Type)

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

Properties

Name Description
AspectType

Gets the type from which the aspects should be derived in order to match the current dependency.

See Also