Skip to content

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

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

staticextension
View source
public static IEnumerable<KeyValuePair<ParticipantId, AccessCounter>> SelectResources(this IEnumerable<KeyValuePair<ParticipantId, AccessCounter>> participants)
Selects participants which store transactional state.

Parameters

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

Returns

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