1 write to Edits
Microsoft.AspNetCore.Components (1)
RenderTree\RenderTreeDiff.cs (1)
29Edits = entries;
176 references to Edits
Microsoft.AspNetCore.Components.Authorization.Tests (32)
AuthorizeRouteViewTest.cs (13)
63Assert.Collection(layoutDiff.Edits, 74Assert.Collection(pageDiff.Edits, 100Assert.Collection(layoutDiff.Edits, 111Assert.Collection(pageDiff.Edits, 138Assert.Collection(layoutDiff.Edits, 167Assert.Collection(layoutDiff.Edits, 195Assert.Collection(layoutDiff.Edits, 223Assert.Collection(layoutDiff.Edits, 235var nonEmptyDiff = batch.DiffsInOrder.Where(d => d.Edits.Any()).Single(); 237Assert.Collection(nonEmptyDiff.Edits, edit => 267Assert.Collection(layoutDiff.Edits, 353var diff = batch2.DiffsInOrder.Where(d => d.Edits.Any()).Single(); 354Assert.Collection(diff.Edits,
AuthorizeViewTest.cs (12)
38Assert.Empty(diff.Edits); 67Assert.Collection(diff.Edits, edit => 101Assert.Empty(diff.Edits); 131Assert.Collection(diff.Edits, edit => 167Assert.Collection(diff.Edits, edit => 214Assert.Collection(diff.Edits, edit => 269Assert.Empty(diff1.Edits); 281Assert.Collection(diff2.Edits, edit => 312Assert.Collection(diff1.Edits, edit => 330Assert.Collection(diff2.Edits, edit => 370Assert.Collection(diff1.Edits, edit => 388Assert.Collection(diff2.Edits, edit =>
CascadingAuthenticationStateTest.cs (4)
55Assert.Collection(receiveAuthStateDiff.Edits, edit => 90Assert.Collection(receiveAuthStateDiff1.Edits, edit => 108Assert.Collection(receiveAuthStateDiff2.Edits, edit => 144Assert.Collection(receiveAuthStateDiff.Edits, edit =>
src\Components\Shared\test\CapturedBatch.cs (3)
35cloneBuilder.Append(diff.Edits.ToArray(), 0, diff.Edits.Count); 38cloneBuilder.ToSegment(0, diff.Edits.Count));
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
ImportMapTest.cs (1)
235Assert.Equal(0, _renderer.CapturedBatch.UpdatedComponents.Array[0].Edits.Count);
Microsoft.AspNetCore.Components.Forms.Tests (3)
src\Components\Shared\test\CapturedBatch.cs (3)
35cloneBuilder.Append(diff.Edits.ToArray(), 0, diff.Edits.Count); 38cloneBuilder.ToSegment(0, diff.Edits.Count));
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
89var edits = diff.Edits;
Microsoft.AspNetCore.Components.Tests (134)
CascadingParameterTest.cs (17)
39Assert.Collection(nestedComponentDiff.Edits, 88Assert.Collection(nestedComponentDiff.Edits, 134Assert.Collection(nestedComponentDiff.Edits, 280Assert.Collection(nestedComponentDiff.Edits, edit => 423Assert.Collection(nestedComponentDiff1.Edits, 431Assert.Collection(nestedComponentDiff2.Edits, 470Assert.Collection(diff.Edits, 506Assert.Collection(diff.Edits, 544Assert.Collection(nestedComponentDiff.Edits, 586Assert.Collection(diff.Edits, 605Assert.Collection(diff2.Edits, 621Assert.Collection(diff3.Edits, 656Assert.Collection(diff.Edits, 674secondBatch.ReferenceFrames[diff2.Edits[0].ReferenceFrameIndex], 681Assert.Collection(nestedComponentDiff.Edits, 752Assert.Collection(firstBatch.GetComponentDiffs<SingleDeliveryParameterConsumerComponent>().Single().Edits, 776Assert.Collection(nestedComponentDiff.Edits,
LayoutViewTest.cs (6)
183diff => Assert.Empty(diff.Edits), // LayoutView rerendered, but with no changes 184diff => Assert.Empty(diff.Edits), // RootLayout rerendered, but with no changes 188Assert.Collection(diff.Edits, edit => 225diff => Assert.Empty(diff.Edits), // LayoutView rerendered, but with no changes 229Assert.Collection(diff.Edits, 247Assert.Collection(diff.Edits,
RendererTest.cs (35)
47Assert.Collection(diff.Edits, 86Assert.Collection(nestedComponentDiff.Edits, 108Assert.Collection(firstDiff.Edits, 121Assert.Collection(secondDiff.Edits, 153Assert.Collection(firstDiff.Edits, 166Assert.Collection(secondDiff.Edits, 196Assert.Collection(diff.Edits, 211Assert.Collection(updateDiff.Edits, 290Assert.Collection(diff.Edits, edit => 306Assert.Collection(diff2.Edits, edit => 2012Assert.Collection(renderer1Diff.Edits, 2022Assert.Collection(renderer2Diff.Edits, 2059Assert.Collection(diff.Edits, 2135Assert.Collection(diff.Edits, 2173Assert.Collection(diff.Edits, 2240.Edits 2642var childComponentFrame = rootComponentDiff.Edits 2649.Skip(childComponentDiff.Edits[0].ReferenceFrameIndex) // Search from where the child component frames start 2769var childComponentFrame = rootComponentDiff.Edits 2776.Skip(childComponentDiff.Edits[0].ReferenceFrameIndex) // Search from where the child component frames start 2883Assert.Collection(diff.Edits, edit => 2895Assert.Collection(diff.Edits, edit => 2907Assert.Collection(diff.Edits, edit => 2945var edit1 = batch1.DiffsByComponentId[componentId].Single().Edits.Single(); 2954var edit2 = batch2.DiffsByComponentId[componentId].Single().Edits.Single(); 2986Assert.Collection(diff1.Edits, 3004var diff2edit = diff2.Edits.Single(); 3012var diff3edit = diff3.Edits.Single(); 3020Assert.Empty(diff4.Edits); 3070Assert.Collection(newBatch.DiffsByComponentId[componentId].Single().Edits, 3105Assert.Contains(latestDiff.Edits, edit => 3294Assert.Collection(latestDiff.Edits, 3420var parentComponentEdits1 = batch1.DiffsByComponentId[parentComponentId].Single().Edits; 4355Assert.Collection(batch2.DiffsInOrder.Single().Edits.ToArray(), edit => 4407Assert.Collection(latestBatch.DiffsInOrder.Single().Edits.ToArray(), edit =>
RenderTreeDiffBuilderTest.cs (73)
45Assert.Empty(result.Edits); 84Assert.Collection(result.Edits, 107Assert.Collection(result.Edits, 137Assert.Collection(result.Edits, 172Assert.Collection(result.Edits, 197Assert.Collection(result.Edits, 240Assert.Collection(batchBuilder.UpdatedComponents.Array[0].Edits, 282Assert.Collection(result.Edits, 314Assert.Collection(result.Edits, 343Assert.Collection(result.Edits, 375Assert.Collection(result.Edits, 462Assert.Collection(result.Edits, 493Assert.Collection(result.Edits, 517Assert.Collection(result.Edits, 547Assert.Collection(result.Edits, 569Assert.Collection(result.Edits, 589Assert.Collection(result.Edits, 619Assert.Collection(result.Edits, 639Assert.Collection(result.Edits, 669Assert.Collection(result.Edits, 699Assert.Collection(result.Edits, 715Assert.Collection(result.Edits, 733Assert.Collection(result.Edits, 761Assert.Collection(result.Edits, 797Assert.Collection(result.Edits, 823Assert.Collection(diff.Edits, 848Assert.Collection(result.Edits, 873Assert.Collection(result.Edits, 898Assert.Collection(result.Edits, 928Assert.Collection(result.Edits, 956Assert.Collection(result.Edits, 989result.Edits, 1019result.Edits, 1050result.Edits, 1081result.Edits, 1111result.Edits, 1142result.Edits, 1173result.Edits, 1200result.Edits, 1227result.Edits, 1254result.Edits, 1281result.Edits, 1308result.Edits, 1342Assert.Collection(result.Edits, 1383Assert.Collection(result.Edits, 1411Assert.Collection(result.Edits, 1436Assert.Collection(result.Edits, 1467Assert.Collection(result.Edits, 1501Assert.Collection(result.Edits, 1531Assert.Collection(result.Edits, 1567Assert.Collection(diff.Edits, 1602AssertEdit(rootComponentDiff.Edits.Single(), RenderTreeEditType.PrependFrame, 0); 1640Assert.Empty(result.Edits); 1665Assert.Empty(result.Edits); 1692Assert.Single(result.Edits); 1858Assert.Collection(diff.Edits, edit => 1900Assert.Empty(diff.Edits); 1928Assert.Collection(diff.Edits, edit => 1964Assert.Empty(diff.Edits); 2003Assert.Collection(result.Edits, 2068Assert.Collection(result.Edits, 2089Assert.Collection(result.Edits, 2116Assert.Collection(result.Edits, 2138Assert.Collection(result.Edits, 2165Assert.Collection(result.Edits, 2185Assert.Collection(result.Edits, 2209Assert.Collection(result.Edits, 2238Assert.Collection(result.Edits, 2269Assert.Collection(result.Edits, 2292Assert.Collection(result.Edits, 2321Assert.Empty(result.Edits); 2353Assert.Collection(result.Edits, 2386Assert.Collection(result.Edits,
src\Components\Shared\test\CapturedBatch.cs (3)
35cloneBuilder.Append(diff.Edits.ToArray(), 0, diff.Edits.Count); 38cloneBuilder.ToSegment(0, diff.Edits.Count));
Microsoft.AspNetCore.Components.Web.Tests (3)
src\Components\Shared\test\CapturedBatch.cs (3)
35cloneBuilder.Append(diff.Edits.ToArray(), 0, diff.Edits.Count); 38cloneBuilder.ToSegment(0, diff.Edits.Count));
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
89var edits = diff.Edits;
Microsoft.AspNetCore.Components.WebView.Test (1)
Infrastructure\TestDocument.cs (1)
32var edits = diff.Edits;