4 writes to Type
Microsoft.AspNetCore.Components (4)
RenderTree\RenderTreeEdit.cs (4)
51Type = type; 56Type = type; 62Type = type; 72Type = type;
81 references to Type
Microsoft.AspNetCore.Components (4)
RenderTree\RenderTreeDiffBuilder.cs (1)
920if (previousIndex >= 0 && diffContext.Edits.Buffer[previousIndex].Type == RenderTreeEditType.StepIn)
RenderTree\RenderTreeEdit.cs (3)
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"/>,
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 (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
106_binaryWriter.Write((int)edit.Type);
Microsoft.AspNetCore.Components.Tests (54)
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 (2)
2543Assert.Equal(type, edit.Type); 2552Assert.Equal(RenderTreeEditType.PermutationListEntry, edit.Type);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
106_binaryWriter.Write((int)edit.Type);
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\TestDocument.cs (2)
77switch (edit.Type) 192throw new Exception($"Unknown edit type: '{edit.Type}'");