2 instantiations of ComponentMarkerKey
Microsoft.AspNetCore.Components.Endpoints (2)
_generated\38\ServerComponentJsonContext.ComponentMarkerKey.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.ComponentMarkerKey(),
Rendering\SSRRenderModeBoundary.cs (1)
286return new()
55 references to ComponentMarkerKey
Microsoft.AspNetCore.Components.Endpoints (55)
_generated\37\ServerComponentJsonContext.ComponentMarker.g.cs (3)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?> 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), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>(options, info2);
_generated\38\ServerComponentJsonContext.ComponentMarkerKey.g.cs (21)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>? _ComponentMarkerKey; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey> ComponentMarkerKey 22get => _ComponentMarkerKey ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey> Create_ComponentMarkerKey(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarkerKey> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).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.ComponentMarkerKey>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey), 60Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)obj).LocationHash, 61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>(obj).LocationHash = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("LocationHash", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey), 82Getter = static obj => ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)obj).FormattedComponentKey, 83Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>(obj).FormattedComponentKey = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey).GetProperty("FormattedComponentKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100private void ComponentMarkerKeySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.ComponentMarkerKey value) 104writer.WriteString(PropName_LocationHash, ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)value).LocationHash); 105writer.WriteString(PropName_FormattedComponentKey, ((global::Microsoft.AspNetCore.Components.ComponentMarkerKey)value).FormattedComponentKey);
_generated\39\ServerComponentJsonContext.NullableComponentMarkerKey.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>? _NullableComponentMarkerKey; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?> NullableComponentMarkerKey 22get => _NullableComponentMarkerKey ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?> Create_NullableComponentMarkerKey(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?> jsonTypeInfo)) 29global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::Microsoft.AspNetCore.Components.ComponentMarkerKey>(options); 30jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>(options, converter);
_generated\42\ServerComponentJsonContext.ServerComponent.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?> 88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.ServerComponent).GetProperty("Key", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Components.ComponentMarkerKey?>(options, info1);
_generated\53\ServerComponentJsonContext.GetJsonTypeInfo.g.cs (2)
30if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey)) 34if (type == typeof(global::Microsoft.AspNetCore.Components.ComponentMarkerKey?))
Rendering\EndpointComponentState.cs (1)
74var marker = boundary.GetComponentMarkerKey(sequence, key);
Rendering\SSRRenderModeBoundary.cs (3)
34private ComponentMarkerKey? _markerKey; 273private ComponentMarkerKey GenerateMarkerKey(int sequence, object? componentKey) 298internal ComponentMarkerKey GetComponentMarkerKey(int sequence, object? componentKey)
src\aspnetcore\src\Shared\Components\ComponentMarker.cs (9)
30public ComponentMarkerKey? Key { get; set; } 65public static ComponentMarker Create(string type, bool prerendered, ComponentMarkerKey? key) 117internal struct ComponentMarkerKey : IEquatable<ComponentMarkerKey> 135public static bool operator ==(ComponentMarkerKey left, ComponentMarkerKey right) 138public static bool operator !=(ComponentMarkerKey left, ComponentMarkerKey right) 141public readonly bool Equals(ComponentMarkerKey other) 146=> obj is ComponentMarkerKey other && Equals(other);
src\aspnetcore\src\Shared\Components\ServerComponent.cs (2)
15ComponentMarkerKey? key, 28public ComponentMarkerKey? Key { get; set; }
src\aspnetcore\src\Shared\Components\ServerComponentSerializationSettings.cs (1)
55[JsonSerializable(typeof(ComponentMarkerKey))]
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
35ComponentMarkerKey? key,