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, String)

AspectRoleDependencyAttribute Constructor (AspectDependencyAction, String)

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

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

Parameters

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