2 instantiations of GroupConnectionList
Microsoft.AspNetCore.SignalR.Core (2)
Internal\HubGroupList.cs (2)
14
private static readonly GroupConnectionList EmptyGroupConnectionList = new
GroupConnectionList
();
59
_groups.AddOrUpdate(groupName, _ => AddConnectionToGroup(connection, new
GroupConnectionList
()),
9 references to GroupConnectionList
Microsoft.AspNetCore.SignalR.Core (9)
Internal\HubGroupList.cs (9)
11
private readonly ConcurrentDictionary<string,
GroupConnectionList
> _groups =
12
new ConcurrentDictionary<string,
GroupConnectionList
>(StringComparer.Ordinal);
14
private static readonly
GroupConnectionList
EmptyGroupConnectionList = new GroupConnectionList();
20
_groups.TryGetValue(groupName, out
var
group);
32
if (_groups.TryGetValue(groupName, out
var
connections))
39
var groupToRemove = new KeyValuePair<string,
GroupConnectionList
>(groupName, EmptyGroupConnectionList);
40
((ICollection<KeyValuePair<string,
GroupConnectionList
>>)(_groups)).Remove(groupToRemove);
67
private static
GroupConnectionList
AddConnectionToGroup(
68
HubConnectionContext connection,
GroupConnectionList
group)