221 references to RenderTreeEditType
Microsoft.AspNetCore.Components (20)
RenderTree\RenderBatch.cs (1)
21/// For example, edit entries of type <see cref="RenderTreeEditType.PrependFrame"/>
RenderTree\RenderTreeDiffBuilder.cs (1)
920if (previousIndex >= 0 && diffContext.Edits.Buffer[previousIndex].Type == RenderTreeEditType.StepIn)
RenderTree\RenderTreeEdit.cs (18)
20[FieldOffset(0)] public readonly RenderTreeEditType Type; 29/// <see cref="Type"/> value is <see cref="RenderTreeEditType.PrependFrame"/>, gets the 35/// If the <see cref="Type"/> value is <see cref="RenderTreeEditType.PermutationListEntry"/>, 44/// If the <see cref="Type"/> value is <see cref="RenderTreeEditType.RemoveAttribute"/>, 49private RenderTreeEdit(RenderTreeEditType type) : this() 54private RenderTreeEdit(RenderTreeEditType type, int siblingIndex) : this() 60private RenderTreeEdit(RenderTreeEditType type, int siblingIndex, int referenceFrameOrMoveToSiblingIndex) : this() 70private RenderTreeEdit(RenderTreeEditType type, int siblingIndex, string removedAttributeName) : this() 78=> new RenderTreeEdit(RenderTreeEditType.RemoveFrame, siblingIndex); 81=> new RenderTreeEdit(RenderTreeEditType.PrependFrame, siblingIndex, referenceFrameIndex); 84=> new RenderTreeEdit(RenderTreeEditType.UpdateText, siblingIndex, referenceFrameIndex); 87=> new RenderTreeEdit(RenderTreeEditType.UpdateMarkup, siblingIndex, referenceFrameIndex); 90=> new RenderTreeEdit(RenderTreeEditType.SetAttribute, siblingIndex, referenceFrameIndex); 93=> new RenderTreeEdit(RenderTreeEditType.RemoveAttribute, siblingIndex, name); 96=> new RenderTreeEdit(RenderTreeEditType.StepIn, siblingIndex); 99=> new RenderTreeEdit(RenderTreeEditType.StepOut); 102=> new RenderTreeEdit(RenderTreeEditType.PermutationListEntry, fromSiblingIndex, toSiblingIndex); 105=> new RenderTreeEdit(RenderTreeEditType.PermutationListEnd);
Microsoft.AspNetCore.Components.Authorization.Tests (19)
AuthorizeRouteViewTest.cs (6)
67Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 104Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 239Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 358Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 365Assert.Equal(RenderTreeEditType.RemoveFrame, edit.Type); 372Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type);
AuthorizeViewTest.cs (9)
69Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 133Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 169Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 216Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 283Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 314Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 332Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 372Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 390Assert.Equal(RenderTreeEditType.UpdateText, edit.Type);
CascadingAuthenticationStateTest.cs (4)
57Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 92Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 110Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 146Assert.Equal(RenderTreeEditType.UpdateText, edit.Type);
Microsoft.AspNetCore.Components.Server.Tests (9)
Circuits\RenderBatchWriterTest.cs (9)
177RenderTreeEditType.PrependFrame, 456, 789, NullStringMarker, 178RenderTreeEditType.RemoveFrame, 101, 0, NullStringMarker, 179RenderTreeEditType.SetAttribute, 102, 103, NullStringMarker, 180RenderTreeEditType.RemoveAttribute, 104, 0, "Some removed attribute", 181RenderTreeEditType.UpdateText, 105, 106, NullStringMarker, 182RenderTreeEditType.StepIn, 107, 0, NullStringMarker, 183RenderTreeEditType.StepOut, 0, 0, NullStringMarker, 184RenderTreeEditType.UpdateMarkup, 108, 109, NullStringMarker, 185RenderTreeEditType.RemoveAttribute, 110, 0, "Some removed attribute"
Microsoft.AspNetCore.Components.Tests (163)
CascadingParameterTest.cs (16)
42Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 91Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 137Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 282Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 426Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 434Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 473Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 509Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 547Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 589Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 608Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 624Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 659Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 684Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 755Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 779Assert.Equal(RenderTreeEditType.UpdateText, edit.Type);
LayoutViewTest.cs (6)
190Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 232Assert.Equal(RenderTreeEditType.RemoveFrame, edit.Type); 237Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 250Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 258Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 266Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type);
RendererTest.cs (30)
50Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 89Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 111Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 124Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 156Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 169Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 199Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 214Assert.Equal(RenderTreeEditType.StepIn, edit.Type); 218Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 222Assert.Equal(RenderTreeEditType.StepOut, edit.Type); 292Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 308Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2015Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2025Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2062Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2138Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2176Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 2885Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2897Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2909Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2946Assert.Equal(RenderTreeEditType.PrependFrame, edit1.Type); 2955Assert.Equal(RenderTreeEditType.UpdateText, edit2.Type); 2989Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2995Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 3005Assert.Equal(RenderTreeEditType.PrependFrame, diff2edit.Type); 3013Assert.Equal(RenderTreeEditType.UpdateText, diff3edit.Type); 3073Assert.Equal(RenderTreeEditType.RemoveFrame, edit.Type); 3297Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 4360Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 4412Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type);
RenderTreeDiffBuilderTest.cs (111)
87AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 108entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 140AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 173entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0)); 200AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 204entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 241entry => AssertEdit(entry, RenderTreeEditType.PrependFrame, 0)); 283entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0)); 315entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0)); 344entry => AssertEdit(entry, RenderTreeEditType.PrependFrame, 0)); 378AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 382entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 463edit => AssertEdit(edit, RenderTreeEditType.PrependFrame, 0), 464edit => AssertEdit(edit, RenderTreeEditType.PrependFrame, 2)); 494edit => AssertEdit(edit, RenderTreeEditType.RemoveFrame, 0), 495edit => AssertEdit(edit, RenderTreeEditType.RemoveFrame, 1)); 521AssertEdit(edit, RenderTreeEditType.PrependFrame, 0); 525edit => AssertEdit(edit, RenderTreeEditType.RemoveFrame, 1)); 549edit => AssertEdit(edit, RenderTreeEditType.RemoveFrame, 0), 551edit => AssertEdit(edit, RenderTreeEditType.PrependFrame, 0)); 570entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1), 571entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 592AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 597AssertEdit(entry, RenderTreeEditType.PrependFrame, 2); 620entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 2), 621entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 2)); 642AssertEdit(entry, RenderTreeEditType.PrependFrame, 2); 647AssertEdit(entry, RenderTreeEditType.PrependFrame, 3); 672AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 677AssertEdit(entry, RenderTreeEditType.PrependFrame, 2); 700entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1), 701entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 716entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0), 717entry => AssertEdit(entry, RenderTreeEditType.PrependFrame, 0)); 736AssertEdit(entry, RenderTreeEditType.UpdateText, 0); 741AssertEdit(entry, RenderTreeEditType.UpdateText, 1); 764AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 770AssertEdit(entry, RenderTreeEditType.UpdateMarkup, 2); 776AssertEdit(entry, RenderTreeEditType.RemoveFrame, 3); 798entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0), 801AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 824entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 0), 827AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 851AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 876AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 901AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 931AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 959AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 964AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 992AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1022AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1053AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1084AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1114AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1145AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 1176AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1203AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1230AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1257AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1284AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1311AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 1343entry => AssertEdit(entry, RenderTreeEditType.StepIn, 1), 1344entry => AssertEdit(entry, RenderTreeEditType.StepIn, 0), 1345entry => AssertEdit(entry, RenderTreeEditType.StepIn, 0), 1348AssertEdit(entry, RenderTreeEditType.UpdateText, 0); 1351entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0), 1352entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0), 1353entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0)); 1384entry => AssertEdit(entry, RenderTreeEditType.StepIn, 0), 1387AssertEdit(entry, RenderTreeEditType.UpdateText, 0); 1390entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0)); 1414AssertEdit(entry, RenderTreeEditType.UpdateText, 1); 1439AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 1470AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 1476AssertEdit(entry, RenderTreeEditType.PrependFrame, 2); 1502entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1), 1503entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 1534AssertEdit(entry, RenderTreeEditType.UpdateText, 1); 1538entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 2), 1541AssertEdit(entry, RenderTreeEditType.PrependFrame, 2); 1568entry => AssertEdit(entry, RenderTreeEditType.StepIn, 1), 1571AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 1576AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 1579entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0)); 1602AssertEdit(rootComponentDiff.Edits.Single(), RenderTreeEditType.PrependFrame, 0); 1860AssertEdit(edit, RenderTreeEditType.PrependFrame, 0); 1930AssertEdit(edit, RenderTreeEditType.PrependFrame, 0); 2005entry => AssertEdit(entry, RenderTreeEditType.StepIn, 0), 2008AssertEdit(entry, RenderTreeEditType.UpdateText, 0); 2012entry => AssertEdit(entry, RenderTreeEditType.StepOut, 0), 2017entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2071entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2092AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 2098entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2117entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1), 2120entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2141AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 2147entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2166entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1), 2169entry => AssertEdit(entry, RenderTreeEditType.PermutationListEnd, 0)); 2188AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 2192entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 2212AssertEdit(entry, RenderTreeEditType.PrependFrame, 0); 2216entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 2241AssertEdit(entry, RenderTreeEditType.PrependFrame, 1); 2270entry => AssertEdit(entry, RenderTreeEditType.RemoveFrame, 1)); 2295AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 2356AssertEdit(entry, RenderTreeEditType.SetAttribute, 0); 2389AssertEdit(entry, RenderTreeEditType.RemoveAttribute, 0); 2540RenderTreeEditType type, 2552Assert.Equal(RenderTreeEditType.PermutationListEntry, edit.Type);
Microsoft.AspNetCore.Components.WebView.Test (10)
Infrastructure\TestDocument.cs (10)
79case RenderTreeEditType.PrependFrame: 87case RenderTreeEditType.RemoveFrame: 94case RenderTreeEditType.SetAttribute: 110case RenderTreeEditType.RemoveAttribute: 134case RenderTreeEditType.UpdateText: 150case RenderTreeEditType.UpdateMarkup: 159case RenderTreeEditType.StepIn: 168case RenderTreeEditType.StepOut: 176case RenderTreeEditType.PermutationListEntry: 182case RenderTreeEditType.PermutationListEnd: