Specifies an aspect dependency that matches aspects of a specified type, and all their advices.
Namespace: PostSharp.Aspects.Dependencies
Assembly: PostSharp.dll
Syntax
public sealed class AspectTypeDependencyAttribute : AspectDependencyAttributeConstructors
| Name | Description |
|---|---|
| AspectTypeDependencyAttribute(AspectDependencyAction, AspectDependencyPosition, Type) | Initializes a new instance of the AspectTypeDependencyAttribute class and specifies a position. |
| AspectTypeDependencyAttribute(AspectDependencyAction, Type) | Initializes a new instance of the AspectTypeDependencyAttribute class without specifying the position. The position is implicitly Any. |
Properties
| Name | Description |
|---|---|
| AspectType | Gets the type from which the aspects must derive in order to match the current dependency. |