3 instantiations of ServerComponent
Microsoft.AspNetCore.Components.Server (3)
Circuits\ServerComponentDeserializer.cs (1)
101
var previousInstance = new
ServerComponent
();
Generated\361d1da7f942c932\ServerComponentJsonContext.ServerComponent.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.Components.
ServerComponent
(),
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (1)
42
var serverComponent = new
ServerComponent
(
58 references to ServerComponent
Microsoft.AspNetCore.Components.Server (58)
Circuits\ServerComponentDeserializer.cs (8)
101
var
previousInstance = new ServerComponent();
150
if (!TryDeserializeServerComponent(record, out
var
serverComponent))
207
private bool TryDeserializeComponentTypeAndParameters(
ServerComponent
serverComponent, [NotNullWhen(true)] out Type? componentType, out ParameterView parameters)
228
private bool TryDeserializeServerComponent(ComponentMarker record, out
ServerComponent
result)
260
var typeInfo = ServerComponentSerializationSettings.JsonSerializationOptions.GetTypeInfo(typeof(
ServerComponent
));
261
result = (
ServerComponent
)JsonSerializer.Deserialize(unprotected, typeInfo)!;
272
private (ComponentDescriptor,
ServerComponent
) DeserializeComponentDescriptor(ComponentMarker record)
274
if (!TryDeserializeServerComponent(record, out
var
serverComponent))
Generated\361d1da7f942c932\ServerComponentJsonContext.GetJsonTypeInfo.g.cs (1)
66
if (type == typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
))
Generated\361d1da7f942c932\ServerComponentJsonContext.ServerComponent.g.cs (46)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
>? _ServerComponent;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
> ServerComponent
22
get => _ServerComponent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
> Create_ServerComponent(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.
ServerComponent
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.
ServerComponent
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.
ServerComponent
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
60
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).Sequence,
61
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).Sequence = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("Sequence", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
80
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).Key,
81
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).Key = value!,
88
AttributeProviderFactory = 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),
98
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
100
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).AssemblyName,
101
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).AssemblyName = value!,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("AssemblyName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
122
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).TypeName,
123
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).TypeName = value!,
130
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("TypeName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
142
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
144
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).ParameterDefinitions,
145
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).ParameterDefinitions = value!,
152
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("ParameterDefinitions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.AspNetCore.Components.ComponentParameter>), global::System.Array.Empty<global::System.Type>(), null),
164
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
166
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).ParameterValues,
167
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).ParameterValues = value!,
174
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("ParameterValues", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<object>), global::System.Array.Empty<global::System.Type>(), null),
186
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
),
188
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
ServerComponent
)obj).InvocationId,
189
Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
ServerComponent
>(obj).InvocationId = value!,
196
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
ServerComponent
).GetProperty("InvocationId", InstanceMemberBindingFlags, null, typeof(global::System.Guid), global::System.Array.Empty<global::System.Type>(), null),
206
private void ServerComponentSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.
ServerComponent
value)
210
writer.WriteNumber(PropName_Sequence, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).Sequence);
212
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).Key, NullableComponentMarkerKey);
213
writer.WriteString(PropName_AssemblyName, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).AssemblyName);
214
writer.WriteString(PropName_TypeName, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).TypeName);
216
IListComponentParameterSerializeHandler(writer, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).ParameterDefinitions);
218
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).ParameterValues, IListObject);
219
writer.WriteString(PropName_InvocationId, ((global::Microsoft.AspNetCore.Components.
ServerComponent
)value).InvocationId);
src\aspnetcore\src\Shared\Components\ServerComponentSerializationSettings.cs (1)
51
[JsonSerializable(typeof(
ServerComponent
))]
src\aspnetcore\src\Shared\Components\ServerComponentSerializer.cs (2)
42
var
serverComponent = new ServerComponent(
51
var typeInfo = ServerComponentSerializationSettings.JsonSerializationOptions.GetTypeInfo(typeof(
ServerComponent
));