2 instantiations of ComponentMarker
Microsoft.AspNetCore.Components.WebAssembly (2)
src\Shared\Components\ComponentMarker.cs (1)
67return new()
WebAssemblyJsonSerializerContext.ComponentMarker.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.ComponentMarker(),
78 references to ComponentMarker
Microsoft.AspNetCore.Components.WebAssembly (78)
Hosting\WebAssemblyHostBuilder.cs (4)
133var registeredComponents = new ComponentMarker[componentsCount]; 140registeredComponents[i] = ComponentMarker.Create(ComponentMarker.WebAssemblyMarkerType, false, null); 151foreach (var registeredComponent in registeredComponents)
Services\DefaultWebAssemblyJSRuntime.cs (1)
143static WebRootComponentParameters DeserializeComponentParameters(ComponentMarker marker)
src\Components\Shared\src\RootComponentOperation.cs (1)
19public ComponentMarker? Marker { get; set; }
src\Shared\Components\ComponentMarker.cs (1)
65public static ComponentMarker Create(string type, bool prerendered, ComponentMarkerKey? key)
WebAssemblyJsonSerializerContext.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), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.ComponentMarker>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 58Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Type, 59Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Type = value!, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Type", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 78Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).PrerenderId, 79Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).PrerenderId = value!, 86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("PrerenderId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 98Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Key, 99Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Key = value!, 106AttributeProviderFactory = 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), 116DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 118Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Sequence, 119Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Sequence = value!, 126AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null), 136DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 138Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Descriptor, 139Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Descriptor = value!, 146AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Descriptor", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 156DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 158Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).Assembly, 159Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).Assembly = value!, 166AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("Assembly", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 176DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 178Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).TypeName, 179Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).TypeName = value!, 186AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 196DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 198Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterDefinitions, 199Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterDefinitions = value!, 206AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 216DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarker), 218Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarker)obj).ParameterValues, 219Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarker>(obj).ParameterValues = value!, 226AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarker).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 236private void ComponentMarkerSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentMarker value) 240string __value_Type = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Type; 245string __value_PrerenderId = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).PrerenderId; 250global::Microsoft.AspNetCore.Components.ComponentMarkerKey? __value_Key = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Key; 256int? __value_Sequence = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Sequence; 262string __value_Descriptor = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Descriptor; 267string __value_Assembly = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).Assembly; 272string __value_TypeName = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).TypeName; 277string __value_ParameterDefinitions = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterDefinitions; 282string __value_ParameterValues = ((global::Microsoft.AspNetCore.Components.ComponentMarker)value).ParameterValues;
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
22if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarker)) 26if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarker?))
WebAssemblyJsonSerializerContext.NullableComponentMarker.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker?>? _NullableComponentMarker; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarker?> NullableComponentMarker 22get => _NullableComponentMarker ??= (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_NullableComponentMarker(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)) 29global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::Microsoft.AspNetCore.Components.ComponentMarker>(options); 30jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.AspNetCore.Components.ComponentMarker?>(options, converter);
WebAssemblyJsonSerializerContext.RootComponentOperation.g.cs (4)
91var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarker?> 106AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation).GetProperty("Marker", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarker?), global::System.Array.Empty<global::System.Type>(), null), 109properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Components.ComponentMarker?>(options, info2); 149global::Microsoft.AspNetCore.Components.ComponentMarker? __value_Marker = ((global::Microsoft.AspNetCore.Components.RootComponentOperation)value).Marker;