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