1 write to Secret
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitId.cs (1)
22Secret = secret ?? throw new ArgumentNullException(nameof(secret));
14 references to Secret
Microsoft.AspNetCore.Components.Server (14)
Circuits\CircuitHost.cs (2)
53if (CircuitId.Secret is null) 56throw new ArgumentException($"Property '{nameof(CircuitId.Secret)}' cannot be null.", nameof(circuitId));
Circuits\CircuitId.cs (5)
35if (other.Secret == null) 37return Secret == null; 42MemoryMarshal.AsBytes(Secret.AsSpan()), 43MemoryMarshal.AsBytes(other.Secret.AsSpan())); 53return HashCode.Combine(Secret);
Circuits\CircuitRegistry.cs (5)
157DisconnectedCircuits.Set(circuitHost.CircuitId.Secret, entry, entryOptions); 240if (DisconnectedCircuits.TryGetValue(circuitId.Secret, out DisconnectedCircuitEntry disconnectedEntry)) 248DisconnectedCircuits.Remove(circuitId.Secret); 315if (ConnectedCircuits.TryGetValue(circuitId, out circuitHost) || DisconnectedCircuits.TryGetValue(circuitId.Secret, out entry)) 318DisconnectedCircuits.Remove(circuitId.Secret);
ComponentHub.cs (2)
150Log.CreatedCircuit(_logger, circuitHost.CircuitId, circuitHost.CircuitId.Secret, Context.ConnectionId); 151return circuitHost.CircuitId.Secret;