1 write to UpdatedComponents
Microsoft.AspNetCore.Components (1)
RenderTree\RenderBatch.cs (1)
48UpdatedComponents = updatedComponents;
25 references to UpdatedComponents
Microsoft.AspNetCore.Components (2)
RenderTree\RenderBatch.cs (1)
20/// Gets render frames that may be referenced by entries in <see cref="UpdatedComponents"/>.
RenderTree\Renderer.cs (1)
778_ = InvokeRenderCompletedCalls(batch.UpdatedComponents, updateDisplayTask);
Microsoft.AspNetCore.Components.Authorization.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
118for (var i = 0; i < renderBatch.UpdatedComponents.Count; i++) 120ref var renderTreeDiff = ref renderBatch.UpdatedComponents.Array[i];
Microsoft.AspNetCore.Components.Endpoints (2)
Rendering\EndpointHtmlRenderer.Streaming.cs (2)
108var count = renderBatch.UpdatedComponents.Count; 134var componentId = renderBatch.UpdatedComponents.Array[i].ComponentId;
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
ImportMapTest.cs (2)
234Assert.Equal(1, _renderer.CapturedBatch.UpdatedComponents.Count); 235Assert.Equal(0, _renderer.CapturedBatch.UpdatedComponents.Array[0].Edits.Count);
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
118for (var i = 0; i < renderBatch.UpdatedComponents.Count; i++) 120ref var renderTreeDiff = ref renderBatch.UpdatedComponents.Array[i];
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
49var updatedComponentsOffset = Write(renderBatch.UpdatedComponents);
Microsoft.AspNetCore.Components.Tests (9)
RenderTreeDiffBuilderTest.cs (7)
239Assert.Equal(1, batchBuilder.UpdatedComponents.Count); 240Assert.Collection(batchBuilder.UpdatedComponents.Array[0].Edits, 1566var diff = renderBatch.UpdatedComponents.AsEnumerable().Single(); 1600Assert.Equal(1, renderBatch.UpdatedComponents.Count); 1601var rootComponentDiff = renderBatch.UpdatedComponents.Array[0]; 1724Assert.Equal(1, renderBatch.UpdatedComponents.Count); // Because the diff builder only queues child component renders; it doesn't actually perform them itself 2403var diffsInBatch = batch.UpdatedComponents;
src\Components\Shared\test\TestRenderer.cs (2)
118for (var i = 0; i < renderBatch.UpdatedComponents.Count; i++) 120ref var renderTreeDiff = ref renderBatch.UpdatedComponents.Array[i];
Microsoft.AspNetCore.Components.Web.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
118for (var i = 0; i < renderBatch.UpdatedComponents.Count; i++) 120ref var renderTreeDiff = ref renderBatch.UpdatedComponents.Array[i];
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
49var updatedComponentsOffset = Write(renderBatch.UpdatedComponents);
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\TestDocument.cs (2)
28for (var i = 0; i < batch.UpdatedComponents.Count; i++) 30var diff = batch.UpdatedComponents.Array[i];