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