4 writes to Type
Microsoft.AspNetCore.Components (4)
RenderTree\RenderTreeEdit.cs (4)
51
Type
= type;
56
Type
= type;
62
Type
= type;
72
Type
= type;
81 references to Type
Microsoft.AspNetCore.Components (4)
RenderTree\RenderTreeDiffBuilder.cs (1)
920
if (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)
67
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
104
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
239
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
358
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
365
Assert.Equal(RenderTreeEditType.RemoveFrame, edit.
Type
);
372
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
AuthorizeViewTest.cs (9)
69
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
133
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
169
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
216
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
283
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
314
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
332
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
372
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
390
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
CascadingAuthenticationStateTest.cs (4)
57
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
92
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
110
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
146
Assert.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)
42
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
91
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
137
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
282
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
426
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
434
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
473
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
509
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
547
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
589
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
608
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
624
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
659
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
684
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
755
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
779
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
LayoutViewTest.cs (6)
190
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
232
Assert.Equal(RenderTreeEditType.RemoveFrame, edit.
Type
);
237
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
250
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
258
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
266
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
RendererTest.cs (30)
50
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
89
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
111
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
124
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
156
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
169
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
199
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
214
Assert.Equal(RenderTreeEditType.StepIn, edit.
Type
);
218
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
222
Assert.Equal(RenderTreeEditType.StepOut, edit.
Type
);
292
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
308
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2015
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
2025
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
2062
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2138
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2176
Assert.Equal(RenderTreeEditType.SetAttribute, edit.
Type
);
2885
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2897
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2909
Assert.Equal(RenderTreeEditType.UpdateText, edit.
Type
);
2946
Assert.Equal(RenderTreeEditType.PrependFrame, edit1.
Type
);
2955
Assert.Equal(RenderTreeEditType.UpdateText, edit2.
Type
);
2989
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
2995
Assert.Equal(RenderTreeEditType.PrependFrame, edit.
Type
);
3005
Assert.Equal(RenderTreeEditType.PrependFrame, diff2edit.
Type
);
3013
Assert.Equal(RenderTreeEditType.UpdateText, diff3edit.
Type
);
3073
Assert.Equal(RenderTreeEditType.RemoveFrame, edit.
Type
);
3297
Assert.Equal(RenderTreeEditType.SetAttribute, edit.
Type
);
4360
Assert.Equal(RenderTreeEditType.SetAttribute, edit.
Type
);
4412
Assert.Equal(RenderTreeEditType.SetAttribute, edit.
Type
);
RenderTreeDiffBuilderTest.cs (2)
2543
Assert.Equal(type, edit.
Type
);
2552
Assert.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)
77
switch (edit.
Type
)
192
throw new Exception($"Unknown edit type: '{edit.
Type
}'");