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