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