2 instantiations of RenderBatch
Microsoft.AspNetCore.Components (1)
Rendering\RenderBatchBuilder.cs (1)
62=> new RenderBatch(
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RenderBatchWriterTest.cs (1)
24var bytes = Serialize(new RenderBatch());
62 references to RenderBatch
Microsoft.AspNetCore.Components (3)
Rendering\RenderBatchBuilder.cs (1)
61public RenderBatch ToBatch()
RenderTree\Renderer.cs (2)
397protected abstract Task UpdateDisplayAsync(in RenderBatch renderBatch); 773var batch = _batchBuilder.ToBatch();
Microsoft.AspNetCore.Components.Analyzers.Tests (2)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererAsBaseClass.cs (1)
23protected override Task UpdateDisplayAsync(/*M1*/in RenderBatch renderBatch)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererTypesInDeclarations.cs (1)
28/*MMParameter*/protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Authorization.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
37public Action<RenderBatch> OnUpdateDisplay { get; set; } 111protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Endpoints (3)
Rendering\EndpointHtmlRenderer.cs (1)
174protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
77private void UpdateNamedSubmitEvents(in RenderBatch renderBatch)
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
106private void SendBatchAsStreamingUpdate(in RenderBatch renderBatch, TextWriter writer)
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
ImportMapTest.cs (3)
265public Action<RenderBatch> OnUpdateDisplay { get; set; } 275public RenderBatch CapturedBatch { get; set; } 279protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Forms.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
37public Action<RenderBatch> OnUpdateDisplay { get; set; } 111protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Performance (1)
RenderTreeDiffBuilderBenchmark.cs (1)
100protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (2)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererAsBaseClass.cs (1)
23protected override Task UpdateDisplayAsync(/*M1*/in RenderBatch renderBatch)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsesRendererTypesInDeclarations.cs (1)
28/*MMParameter*/protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteRenderer.cs (1)
145protected override Task UpdateDisplayAsync(in Microsoft.AspNetCore.Components.RenderTree.RenderBatch batch)
src\Components\Shared\src\RenderBatchWriter.cs (2)
18/// Provides a custom binary serializer for <see cref="RenderBatch"/> instances. 47public void Write(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Server.Tests (2)
Circuits\RenderBatchWriterTest.cs (2)
273private Span<byte> Serialize(RenderBatch renderBatch) 399protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Tests (20)
ComponentFactoryTest.cs (1)
431protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Lifetime\ComponentStatePersistenceManagerTest.cs (1)
252protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
RendererTest.cs (4)
5179protected override Task UpdateDisplayAsync(in RenderBatch renderBatch) 5563protected override Task UpdateDisplayAsync(in RenderBatch renderBatch) 5866public Func<RenderBatch, Task> OnUpdateDisplayAsync { get; set; } 5868protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Rendering\RenderTreeBuilderTest.cs (1)
2302protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
RenderTreeDiffBuilderTest.cs (11)
235var batchBuilder = GetRenderedBatch(initializeFromFrames: false); 1563var renderBatch = GetRenderedBatch(); 1596var renderBatch = GetRenderedBatch(); 1720var renderBatch = GetRenderedBatch(); 1776var renderBatch = GetRenderedBatch(); 1806var renderBatch = GetRenderedBatch(); 2400private (RenderTreeDiff, RenderTreeFrame[], RenderBatch) GetSingleUpdatedComponentWithBatch(bool initializeFromFrames = false, int componentId = 0) 2402var batch = GetRenderedBatch(initializeFromFrames, componentId); 2408private RenderBatch GetRenderedBatch(bool initializeFromFrames = false, int componentId = 0) 2411private RenderBatch GetRenderedBatch(RenderTreeBuilder from, RenderTreeBuilder to, bool initializeFromFrames, int componentId = 0) 2466protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
src\Components\Shared\test\TestRenderer.cs (2)
37public Action<RenderBatch> OnUpdateDisplay { get; set; } 111protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Web (1)
HtmlRendering\StaticHtmlRenderer.cs (1)
86protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.Web.Tests (2)
src\Components\Shared\test\TestRenderer.cs (2)
37public Action<RenderBatch> OnUpdateDisplay { get; set; } 111protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.WebAssembly (2)
Rendering\WebAssemblyRenderer.cs (2)
138protected override unsafe Task UpdateDisplayAsync(in RenderBatch batch) 150var batchCopy = batch;
Microsoft.AspNetCore.Components.WebView (4)
IpcSender.cs (1)
24public void ApplyRenderBatch(long batchId, RenderBatch renderBatch)
Services\WebViewRenderer.cs (1)
45protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)
src\Components\Shared\src\RenderBatchWriter.cs (2)
18/// Provides a custom binary serializer for <see cref="RenderBatch"/> instances. 47public void Write(in RenderBatch renderBatch)
Microsoft.AspNetCore.Components.WebView.Test (9)
Infrastructure\AssertHelpers.cs (1)
27internal static RenderBatch IsRenderBatch(string message)
Infrastructure\TestDocument.cs (8)
26public void ApplyChanges(RenderBatch batch) 47private void UpdateComponent(RenderBatch batch, int componentId, ArrayBuilderSegment<RenderTreeEdit> edits) 68private void ApplyEdits(RenderBatch batch, ContainerNode parent, int childIndex, ArrayBuilderSegment<RenderTreeEdit> edits) 198private int InsertFrame(RenderBatch batch, ContainerNode parent, int childIndex, ArraySegment<RenderTreeFrame> frames, RenderTreeFrame frame, int frameIndex) 270private int InsertFrameRange(RenderBatch batch, ContainerNode parent, int childIndex, ArraySegment<RenderTreeFrame> frames, int startIndex, int endIndexExcl) 286private void InsertElement(RenderBatch batch, ContainerNode parent, int childIndex, ArraySegment<RenderTreeFrame> frames, RenderTreeFrame frame, int frameIndex) 320private void ApplyAttribute(RenderBatch batch, ElementNode elementNode, RenderTreeFrame attributeFrame) 349private bool TryApplySpecialProperty(RenderBatch batch, ElementNode element, string attributeName, RenderTreeFrame attributeFrame)
Wasm.Performance.ConsoleHost (1)
ConsoleHostRenderer.cs (1)
27protected override Task UpdateDisplayAsync(in RenderBatch renderBatch)