PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure.​Dependencies Namespace / Aspect­Role­Dependency­Condition Class / Aspect­Role­Dependency­Condition Constructor

AspectRoleDependencyCondition Constructor

Initializes a new AspectRoleDependencyCondition.

Namespace:  PostSharp.Sdk.AspectInfrastructure.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public AspectRoleDependencyCondition(
	string role
)

Parameters

role
Type: System.String
The role that the right member of the condition must provide in order for the condition to evaluate to true.
See Also