1 write to CircuitId
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitHost.cs (1)
52
CircuitId
= circuitId;
42 references to CircuitId
Microsoft.AspNetCore.Components.Server (42)
Circuits\Circuit.cs (1)
21
public string Id => _circuitHost.
CircuitId
.Id;
Circuits\CircuitFactory.cs (1)
132
CreatedCircuit(logger, circuitHost.
CircuitId
.Id, circuitHost.Client.ConnectionId);
Circuits\CircuitHost.cs (21)
53
if (
CircuitId
.Secret is null)
56
throw new ArgumentException($"Property '{nameof(
CircuitId
.Secret)}' cannot be null.", nameof(circuitId));
177
Log.DisposeStarted(_logger,
CircuitId
);
219
Log.DisposeSucceeded(_logger,
CircuitId
);
223
Log.DisposeFailed(_logger,
CircuitId
, ex);
232
Log.CircuitOpened(_logger,
CircuitId
);
261
Log.ConnectionUp(_logger,
CircuitId
, Client.ConnectionId);
290
Log.ConnectionDown(_logger,
CircuitId
, Client.ConnectionId);
319
Log.CircuitClosed(_logger,
CircuitId
);
360
Log.OnRenderCompletedFailed(_logger, renderId,
CircuitId
, e);
537
Log.LocationChange(_logger, uri,
CircuitId
);
539
Log.LocationChangeSucceeded(_logger, uri,
CircuitId
);
556
Log.LocationChangeFailedInCircuit(_logger, uri,
CircuitId
, nex);
564
Log.LocationChangeFailed(_logger, uri,
CircuitId
, ex);
579
Log.LocationChanging(_logger, uri,
CircuitId
);
589
Log.LocationChangeFailed(_logger, uri,
CircuitId
, ex);
685
Log.CircuitUnhandledException(_logger,
CircuitId
, exception);
712
CircuitId
,
719
Log.CircuitTransmittingClientError(_logger,
CircuitId
);
721
Log.CircuitTransmittedClientErrorSuccess(_logger,
CircuitId
);
725
Log.CircuitTransmitErrorFailed(_logger,
CircuitId
, ex);
Circuits\CircuitRegistry.cs (13)
76
if (!ConnectedCircuits.TryAdd(circuitHost.
CircuitId
, circuitHost))
79
throw new ArgumentException($"Circuit with identity {circuitHost.
CircuitId
} is already registered.");
89
Log.CircuitDisconnectStarted(_logger, circuitHost.
CircuitId
, connectionId);
113
var circuitId = circuitHost.
CircuitId
;
157
DisconnectedCircuits.Set(circuitHost.
CircuitId
.Secret, entry, entryOptions);
215
Log.ReconnectionSucceeded(_logger, circuitHost.
CircuitId
);
220
Log.FailedToReconnectToCircuit(_logger, circuitHost.
CircuitId
, ex);
232
Log.ConnectingToActiveCircuit(_logger, connectedCircuitHost.
CircuitId
, connectionId);
242
Log.ConnectingToDisconnectedCircuit(_logger, disconnectedEntry.CircuitHost.
CircuitId
, connectionId);
267
Log.CircuitEvicted(_logger, disconnectedEntry.CircuitHost.
CircuitId
, reason);
320
Log.CircuitDisconnectedPermanently(_logger, circuitHost.
CircuitId
);
343
await TerminateAsync(circuitHost.
CircuitId
);
348
Log.CircuitExceptionHandlerFailed(_logger, circuitHost.
CircuitId
, ex);
ComponentHub.cs (6)
90
Log.CircuitAlreadyInitialized(_logger, circuitHost.
CircuitId
);
91
await NotifyClientError(Clients.Caller, $"The circuit host '{circuitHost.
CircuitId
}' has already been initialized.");
150
Log.CreatedCircuit(_logger, circuitHost.
CircuitId
, circuitHost.
CircuitId
.Secret, Context.ConnectionId);
151
return circuitHost.
CircuitId
.Secret;
177
await _circuitRegistry.TerminateAsync(circuitHost.
CircuitId
);