1 write to Client
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitHost.cs (1)
61
Client
= client ?? throw new ArgumentNullException(nameof(client));
25 references to Client
Microsoft.AspNetCore.Components.Server (25)
Circuits\CircuitFactory.cs (1)
132
CreatedCircuit(logger, circuitHost.CircuitId.Id, circuitHost.
Client
.ConnectionId);
Circuits\CircuitHost.cs (18)
166
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex), ex);
261
Log.ConnectionUp(_logger, CircuitId,
Client
.ConnectionId);
290
Log.ConnectionDown(_logger, CircuitId,
Client
.ConnectionId);
361
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(e, $"Failed to complete render batch '{renderId}'."));
387
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Interop call failed."));
421
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Invalid interop arguments."));
446
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Invalid byte array."));
470
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Invalid chunk supplied to stream."));
490
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Unable to send .NET stream."));
520
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, "Unable to locate .NET stream."));
557
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(nex, "Location change failed."));
565
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, $"Location change to '{uri}' failed."));
583
await
Client
.SendAsync("JS.EndLocationChanging", callId, shouldContinueNavigation);
590
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex, $"Location change to '{uri}' failed."));
687
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(exception), exception);
708
if (!
Client
.Connected)
783
await
Client
.SendAsync("JS.EndUpdateRootComponents", batchId);
792
await TryNotifyClientErrorAsync(
Client
, GetClientErrorMessage(ex), ex);
Circuits\CircuitRegistry.cs (6)
122
if (!string.Equals(circuitHost.
Client
.ConnectionId, connectionId, StringComparison.Ordinal))
124
Log.CircuitConnectedToDifferentConnection(_logger, circuitId, circuitHost.
Client
.ConnectionId);
135
circuitHost.
Client
.SetDisconnected();
236
connectedCircuitHost.
Client
.Transfer(clientProxy, connectionId);
251
disconnectedEntry.CircuitHost.
Client
.Transfer(clientProxy, connectionId);
321
circuitHost.
Client
.SetDisconnected();