1 write to ConnectedCircuits
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
54
ConnectedCircuits
= new ConcurrentDictionary<CircuitId, CircuitHost>();
9 references to ConnectedCircuits
Microsoft.AspNetCore.Components.Server (9)
Circuits\CircuitRegistry.cs (9)
21
/// The server (eventually) learns of the disconnect. The host is transitioned from <see cref="
ConnectedCircuits
"/> to
28
/// what we did during disconnect - transition the host from <see cref="DisconnectedCircuits"/> to <see cref="
ConnectedCircuits
"/>, and transfer
76
if (!
ConnectedCircuits
.TryAdd(circuitHost.CircuitId, circuitHost))
114
if (!
ConnectedCircuits
.TryGetValue(circuitId, out circuitHost))
132
var result =
ConnectedCircuits
.TryRemove(circuitId, out circuitHost);
230
if (
ConnectedCircuits
.TryGetValue(circuitId, out var connectedCircuitHost))
249
ConnectedCircuits
.TryAdd(circuitId, disconnectedEntry.CircuitHost);
315
if (
ConnectedCircuits
.TryGetValue(circuitId, out circuitHost) || DisconnectedCircuits.TryGetValue(circuitId.Secret, out entry))
319
ConnectedCircuits
.TryRemove(circuitId, out _);