PostSharp4.3//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: 4.3.48.0 (4.3.48.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