2 instantiations of ComponentMarker
Microsoft.AspNetCore.Components.Server (2)
_generated\1\CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (1)
33ObjectCreator = () => new global::Microsoft.AspNetCore.Components.ComponentMarker(),
src\aspnetcore\src\Shared\Components\ComponentMarker.cs (1)
67return new()
87 references to ComponentMarker
Microsoft.AspNetCore.Components.Server (87)
_generated\1\CircuitPersistenceManagerSerializerContext.ComponentMarker.g.cs (56)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>? _ComponentMarker; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> ComponentMarker 24get => _ComponentMarker ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentMarker)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> Create_ComponentMarker(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentMarker>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarker> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 43jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 62Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Type, 63Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Type = value!, 70AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 82Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).PrerenderId, 83Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).PrerenderId = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("PrerenderId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 102Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Key, 103Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Key = value!, 110AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Key", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 122Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Sequence, 123Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Sequence = value!, 130AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null), 140DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 142Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Descriptor, 143Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Descriptor = value!, 150AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Descriptor", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 160DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 162Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Assembly, 163Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Assembly = value!, 170AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 180DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 182Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).TypeName, 183Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).TypeName = value!, 190AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 200DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 202Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterDefinitions, 203Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterDefinitions = value!, 210AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 220DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 222Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterValues, 223Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterValues = value!, 230AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 240private void ComponentMarkerSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentMarker value) 244writer.WriteString(PropName_Type, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Type); 245writer.WriteString(PropName_PrerenderId, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).PrerenderId); 247global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Key, NullableComponentMarkerKey); 249global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Sequence, NullableInt32); 250writer.WriteString(PropName_Descriptor, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Descriptor); 251writer.WriteString(PropName_Assembly, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Assembly); 252writer.WriteString(PropName_TypeName, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).TypeName); 253writer.WriteString(PropName_ParameterDefinitions, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterDefinitions); 254writer.WriteString(PropName_ParameterValues, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterValues);
_generated\4\CircuitPersistenceManagerSerializerContext.DictionaryInt32ComponentMarker.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>>? _DictionaryInt32ComponentMarker; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>> DictionaryInt32ComponentMarker 24get => _DictionaryInt32ComponentMarker ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>> Create_DictionaryInt32ComponentMarker(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>> 33ObjectCreator = () => new global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>(), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>, int, global::Microsoft.AspNetCore.Components.ComponentMarker>(options, info);
_generated\9\CircuitPersistenceManagerSerializerContext.GetJsonTypeInfo.g.cs (2)
24if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarker)) 36if (type == typeof(global::System.Collections.Generic.Dictionary<int, global::Microsoft.AspNetCore.Components.ComponentMarker>))
Circuits\CircuitPersistenceManager.cs (7)
181static Dictionary<int, ComponentMarker> TryDeserializeMarkers(byte[] rootComponents) 190return JsonSerializer.Deserialize<Dictionary<int, ComponentMarker>>( 211var persistedComponents = new Dictionary<int, ComponentMarker>(); 221var marker = ComponentMarker.Create(ComponentMarker.ServerMarkerType, prerendered: false, componentKey); 250[JsonSerializable(typeof(Dictionary<int, ComponentMarker>))]
Circuits\IServerComponentDeserializer.cs (1)
15bool TryDeserializeWebRootComponentDescriptor(ComponentMarker record, [NotNullWhen(true)] out WebRootComponentDescriptor? result);
Circuits\ServerComponentDeserializer.cs (7)
96var markers = JsonSerializer.Deserialize<IEnumerable<ComponentMarker>>(serializedComponentRecords, ServerComponentSerializationSettings.JsonSerializationOptions); 101foreach (var marker in markers) 145public bool TryDeserializeWebRootComponentDescriptor(ComponentMarker record, [NotNullWhen(true)] out WebRootComponentDescriptor? result) 227private bool TryDeserializeServerComponent(ComponentMarker record, out ServerComponent result) 231if (record.Type is not (ComponentMarker.ServerMarkerType or ComponentMarker.AutoMarkerType)) 272private (ComponentDescriptor, ServerComponent) DeserializeComponentDescriptor(ComponentMarker record)
src\aspnetcore\src\Components\Shared\src\RootComponentOperation.cs (1)
19public ComponentMarker? Marker { get; set; }
src\aspnetcore\src\Shared\Components\ComponentMarker.cs (1)
65public static ComponentMarker Create(string type, bool prerendered, ComponentMarkerKey? key)
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
20ref ComponentMarker marker,