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)
960if (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)
51Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 90Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 112Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 125Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 157Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 170Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 200Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 215Assert.Equal(RenderTreeEditType.StepIn, edit.Type); 219Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 223Assert.Equal(RenderTreeEditType.StepOut, edit.Type); 293Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 309Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2016Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2026Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2063Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2139Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2177Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 2886Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2898Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2910Assert.Equal(RenderTreeEditType.UpdateText, edit.Type); 2947Assert.Equal(RenderTreeEditType.PrependFrame, edit1.Type); 2956Assert.Equal(RenderTreeEditType.UpdateText, edit2.Type); 2990Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 2996Assert.Equal(RenderTreeEditType.PrependFrame, edit.Type); 3006Assert.Equal(RenderTreeEditType.PrependFrame, diff2edit.Type); 3014Assert.Equal(RenderTreeEditType.UpdateText, diff3edit.Type); 3074Assert.Equal(RenderTreeEditType.RemoveFrame, edit.Type); 3298Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 4361Assert.Equal(RenderTreeEditType.SetAttribute, edit.Type); 4413Assert.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}'");