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