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