Skip to content

ParticipantRoleExtensions.SupportsRoles(ParticipantId, Role)

SupportsRoles(ParticipantId, Role)

staticextension
View source
public static bool SupportsRoles(this ParticipantId participant, Role role)
Determines whether a participant supports at least one of the specified roles.

Parameters

participantParticipantId
The participant to inspect.
roleRole
The role or roles to test.

Returns

true when the participant supports at least one specified role; otherwise, false.