2 writes to Key
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (1)
101
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).
Key
= value!,
src\Shared\Components\ComponentMarker.cs (1)
71
Key
= key,
12 references to Key
Microsoft.AspNetCore.Components.Server (10)
CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (2)
100
Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).
Key
,
245
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).
Key
, NullableComponentMarkerKey);
Circuits\CircuitHost.cs (2)
902
operation.Marker.Value.
Key
,
912
operation.Marker.Value.
Key
,
Circuits\ServerComponentDeserializer.cs (1)
154
if (record.
Key
!= serverComponent.Key)
src\Shared\Components\ComponentMarker.cs (4)
100
return $"Server Component: {TypeName}, Sequence: {Sequence}, Key: {
Key
?.FormattedComponentKey} Descriptor: {Descriptor?.Substring(5)}...";
102
return $"WebAssembly Component: {TypeName}, Assembly: {Assembly}, Key: {
Key
?.FormattedComponentKey}";
104
return $"Auto Component: {TypeName}, Assembly: {Assembly}, Key: {
Key
?.FormattedComponentKey}, Descriptor: {Descriptor?.Substring(5)}...";
106
return $"Unknown Component Type: {Type}, Key: {
Key
?.FormattedComponentKey}";
src\Shared\Components\ServerComponentSerializer.cs (1)
27
var (sequence, serverComponent) = CreateSerializedServerComponent(invocationId, type, parameters, marker.
Key
, expiration);
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\CircuitPersistenceManagerTest.cs (2)
380
Assert.Equal(key.LocationHash, marker.
Key
.Value.LocationHash);
381
Assert.Equal(key.FormattedComponentKey, marker.
Key
.Value.FormattedComponentKey);