2 instantiations of ComponentMarker
Microsoft.AspNetCore.Components.Endpoints (2)
_generated\37\ServerComponentJsonContext.ComponentMarker.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.ComponentMarker(),
src\aspnetcore\src\Shared\Components\ComponentMarker.cs (1)
67return new()
89 references to ComponentMarker
Microsoft.AspNetCore.Components.Endpoints (89)
_generated\37\ServerComponentJsonContext.ComponentMarker.g.cs (56)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>? _ComponentMarker; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> ComponentMarker 22get => _ComponentMarker ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentMarker)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> Create_ComponentMarker(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentMarker>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarker> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 60Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Type, 61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Type = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 80Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).PrerenderId, 81Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).PrerenderId = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("PrerenderId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 100Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Key, 101Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Key = value!, 108AttributeProviderFactory = 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), 118DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 120Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Sequence, 121Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Sequence = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null), 138DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 140Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Descriptor, 141Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Descriptor = value!, 148AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Descriptor", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 158DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 160Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Assembly, 161Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Assembly = value!, 168AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 178DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 180Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).TypeName, 181Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).TypeName = value!, 188AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 198DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 200Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterDefinitions, 201Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterDefinitions = value!, 208AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 218DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 220Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterValues, 221Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterValues = value!, 228AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 238private void ComponentMarkerSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentMarker value) 242writer.WriteString(PropName_Type, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Type); 243writer.WriteString(PropName_PrerenderId, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).PrerenderId); 245global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Key, NullableComponentMarkerKey); 247global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Sequence, NullableInt32); 248writer.WriteString(PropName_Descriptor, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Descriptor); 249writer.WriteString(PropName_Assembly, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Assembly); 250writer.WriteString(PropName_TypeName, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).TypeName); 251writer.WriteString(PropName_ParameterDefinitions, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterDefinitions); 252writer.WriteString(PropName_ParameterValues, ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterValues);
_generated\43\ServerComponentJsonContext.IEnumerableComponentMarker.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>>? _IEnumerableComponentMarker; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>> IEnumerableComponentMarker 22get => _IEnumerableComponentMarker ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>> Create_IEnumerableComponentMarker(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>, global::Microsoft.AspNetCore.Components.ComponentMarker>(options, info); 47private void IEnumerableComponentMarkerSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>? value) 57foreach (global::Microsoft.AspNetCore.Components.ComponentMarker element in value)
_generated\53\ServerComponentJsonContext.GetJsonTypeInfo.g.cs (2)
26if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarker)) 50if (type == typeof(global::System.Collections.Generic.IEnumerable<global::Microsoft.AspNetCore.Components.ComponentMarker>))
DependencyInjection\WebAssemblyComponentSerializer.cs (1)
11public static void SerializeInvocation(ref ComponentMarker marker, Type type, ParameterView parameters)
Rendering\EndpointHtmlRenderer.Streaming.cs (6)
335var marker = boundary.ToMarker(_httpContext, sequenceAndKey.Sequence, sequenceAndKey.Key); 338if (!_httpContext.Response.HasStarted && marker.Type is ComponentMarker.ServerMarkerType or ComponentMarker.AutoMarkerType) 343if (marker.Type is ComponentMarker.WebAssemblyMarkerType or ComponentMarker.AutoMarkerType 344or ComponentMarker.ServerMarkerType)
Rendering\SSRRenderModeBoundary.cs (8)
201public ComponentMarker ToMarker(HttpContext httpContext, int sequence, object? componentKey) 216var marker = RenderMode switch 218InteractiveServerRenderMode server => ComponentMarker.Create(ComponentMarker.ServerMarkerType, server.Prerender, _markerKey), 219InteractiveWebAssemblyRenderMode webAssembly => ComponentMarker.Create(ComponentMarker.WebAssemblyMarkerType, webAssembly.Prerender, _markerKey), 220InteractiveAutoRenderMode auto => ComponentMarker.Create(ComponentMarker.AutoMarkerType, auto.Prerender, _markerKey),
src\aspnetcore\src\Shared\Components\ComponentMarker.cs (1)
65public static ComponentMarker Create(string type, bool prerendered, ComponentMarkerKey? key)
src\aspnetcore\src\Shared\Components\ServerComponentSerializationSettings.cs (2)
52[JsonSerializable(typeof(ComponentMarker))] 53[JsonSerializable(typeof(IEnumerable<ComponentMarker>))]
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
20ref ComponentMarker marker,