1 instantiation of RootComponentOperationBatch
Microsoft.AspNetCore.Components.WebAssembly (1)
WebAssemblyJsonSerializerContext.RootComponentOperationBatch.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Components.RootComponentOperationBatch(){ Operations = (global::Microsoft.AspNetCore.Components.RootComponentOperation[])args[0] },
33 references to RootComponentOperationBatch
Microsoft.AspNetCore.Components.WebAssembly (33)
Hosting\WebAssemblyHost.cs (2)
169RootComponentOperationBatch? initialOperationBatch = null; 225private static void AddWebRootComponents(WebAssemblyRenderer renderer, RootComponentOperationBatch operationBatch, List<Task> pendingRenders)
Infrastructure\WebAssemblyJsonSerializerContext.cs (1)
20[JsonSerializable(typeof(RootComponentOperationBatch))]
Rendering\WebAssemblyRenderer.cs (1)
52private void OnUpdateRootComponents(RootComponentOperationBatch batch, string appState)
Services\DefaultWebAssemblyJSRuntime.cs (5)
27public event Action<RootComponentOperationBatch, string>? OnUpdateRootComponents; 102var operations = DeserializeOperations(operationsJson); 112[DynamicDependency(JsonSerialized, typeof(RootComponentOperationBatch))] 115internal static RootComponentOperationBatch DeserializeOperations(string operationsJson) 117var deserialized = JsonSerializer.Deserialize(
Services\InternalJSImportMethods.cs (1)
21public static async Task<RootComponentOperationBatch> GetInitialComponentUpdate()
src\Components\Shared\src\RootComponentOperationBatch.cs (1)
17return $"{nameof(RootComponentOperationBatch)}: {BatchId}, Operations Count: {Operations.Length}";
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
54if (type == typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch))
WebAssemblyJsonSerializerContext.RootComponentOperationBatch.g.cs (21)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch>? _RootComponentOperationBatch; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch> RootComponentOperationBatch 22get => _RootComponentOperationBatch ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch> Create_RootComponentOperationBatch(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.RootComponentOperationBatch> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).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.RootComponentOperationBatch>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch), 58Getter = static obj => ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)obj).BatchId, 59Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)obj).BatchId = value!, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).GetProperty("BatchId", InstanceMemberBindingFlags, null, typeof(long), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch), 78Getter = static obj => ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)obj).Operations, 79Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)obj).Operations = value!, 86AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.RootComponentOperationBatch).GetProperty("Operations", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Components.RootComponentOperation[]), global::System.Array.Empty<global::System.Type>(), null), 99private void RootComponentOperationBatchSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.RootComponentOperationBatch? value) 109writer.WriteNumber(PropName_batchId, ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)value).BatchId); 110global::Microsoft.AspNetCore.Components.RootComponentOperation[] __value_Operations = ((global::Microsoft.AspNetCore.Components.RootComponentOperationBatch)value).Operations;