PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Dependencies Namespace / Aspect­Role­Dependency­Attribute Class / Aspect­Role­Dependency­Attribute Constructor / Aspect­Role­Dependency­Attribute Constructor (Aspect­Dependency­Action, Aspect­Dependency­Position, String)

AspectRoleDependencyAttribute Constructor (AspectDependencyAction, AspectDependencyPosition, String)

Initializes a new AspectRoleDependencyAttribute and specifies a position.

Namespace:  PostSharp.Aspects.Dependencies
Assembly:  PostSharp (in PostSharp.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public AspectRoleDependencyAttribute(
	AspectDependencyAction action,
	AspectDependencyPosition position,
	string role
)

Parameters

action
Type: PostSharp.Aspects.Dependencies.AspectDependencyAction
Dependency action.
position
Type: PostSharp.Aspects.Dependencies.AspectDependencyPosition
Dependency position.
role
Type: System.String
Role.
See Also