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