Skip to content

ParticipantRoleExtensions.SelectManagers(IEnumerable<KeyValuePair<ParticipantId, AccessCounter>>)

SelectManagers(IEnumerable<KeyValuePair<ParticipantId, AccessCounter>>)

staticextension
View source
public static IEnumerable<KeyValuePair<ParticipantId, AccessCounter>> SelectManagers(this IEnumerable<KeyValuePair<ParticipantId, AccessCounter>> participants)
Selects participants which can coordinate transaction commit.

Parameters

participantsIEnumerable<KeyValuePair<ParticipantId, AccessCounter>>
The participants and their transaction access counts.

Returns

The participants which support the manager role, with their access counts.