PostSharp6.1/API Reference/Post­Sharp.​Aspects.​Dependencies Namespace/Aspect­Type­Dependency­Attribute Class/Aspect­Type­Dependency­Attribute Constructor/Aspect­Type­Dependency­Attribute Constructor (Aspect­Dependency­Action, Type)

AspectTypeDependencyAttribute Constructor (AspectDependencyAction, Type)

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

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public AspectTypeDependencyAttribute(
	AspectDependencyAction action,
	Type aspectType
)

Parameters

action
Type: PostSharp.Aspects.Dependencies.AspectDependencyAction
Dependency action.
aspectType
Type: System.Type
Aspect type (derived from IAspect).
See Also