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, Aspect­Dependency­Position, Type)

AspectTypeDependencyAttribute Constructor (AspectDependencyAction, AspectDependencyPosition, Type)

Initializes a new AspectTypeDependencyAttribute and specifies a position.

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

Parameters

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