316 references to OpenElement
Microsoft.AspNetCore.Components (1)
Rendering\RenderTreeBuilder.cs (1)
61
/// must be balanced with calls to <see cref="
OpenElement
(int, string)"/>.
Microsoft.AspNetCore.Components.Endpoints (1)
Assets\ImportMap.cs (1)
63
builder.
OpenElement
(0, "script");
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
EndpointHtmlRendererTest.cs (6)
980
builder.
OpenElement
(0, "form");
1016
builder.
OpenElement
(0, "form");
1508
builder.
OpenElement
(0, "form");
1521
builder.
OpenElement
(0, "form");
1551
builder.
OpenElement
(0, "form");
1570
builder.
OpenElement
(0, "form");
Microsoft.AspNetCore.Components.Performance (8)
RenderTreeDiffBuilderBenchmark.cs (8)
26
original.
OpenElement
(0, "div");
29
original.
OpenElement
(2, "label");
36
original.
OpenElement
(7, "input");
43
original.
OpenElement
(13, "span");
52
modified.
OpenElement
(0, "div");
55
modified.
OpenElement
(2, "label");
62
modified.
OpenElement
(7, "input");
70
modified.
OpenElement
(13, "span");
Microsoft.AspNetCore.Components.Server.Tests (14)
Circuits\CircuitHostTest.cs (1)
910
builder.
OpenElement
(0, "my element");
Circuits\RemoteRendererTest.cs (13)
40
builder.
OpenElement
(0, "my element");
61
builder.
OpenElement
(0, "my element");
85
builder.
OpenElement
(0, "my element");
148
builder.
OpenElement
(0, "my element");
205
builder.
OpenElement
(0, "my element");
225
builder.
OpenElement
(0, "offline element");
268
builder.
OpenElement
(0, "my element");
288
builder.
OpenElement
(0, "offline element");
336
builder.
OpenElement
(0, "my element");
351
builder.
OpenElement
(0, "offline element");
393
builder.
OpenElement
(0, "my element");
408
builder.
OpenElement
(0, "offline element");
734
builder.
OpenElement
(0, "my element");
Microsoft.AspNetCore.Components.Tests (211)
ComponentBaseTest.cs (1)
496
builder.
OpenElement
(0, "p");
RendererTest.cs (23)
35
builder.
OpenElement
(0, "my element");
3121
builder.
OpenElement
(0, "input");
3160
builder.
OpenElement
(0, "input");
3194
builder.
OpenElement
(0, "input");
3234
builder.
OpenElement
(0, "input");
3274
builder.
OpenElement
(0, "parent elem");
3277
builder.
OpenElement
(3, "child elem");
4168
builder.
OpenElement
(0, "my element");
4532
builder.
OpenElement
(0, "myElem");
4992
builder.
OpenElement
(0, "h2");
5014
builder.
OpenElement
(0, "h2");
5244
builder.
OpenElement
(0, "strong");
5308
builder.
OpenElement
(0, "grandparent");
5311
builder.
OpenElement
(1, "parent");
5312
builder.
OpenElement
(2, "some element");
5441
builder.
OpenElement
(0, "my button");
5486
builder.
OpenElement
(0, "input");
5491
builder.
OpenElement
(4, "input");
5603
builder.
OpenElement
(0, "p");
5683
builder.
OpenElement
(0, "div");
5897
builder.
OpenElement
(0, "p");
5910
builder.
OpenElement
(0, "element with event");
6029
builder.
OpenElement
(0, "someelem");
Rendering\RenderTreeBuilderTest.cs (75)
52
builder.
OpenElement
(0, "some elem");
147
builder.
OpenElement
(0, "my element");
162
builder.
OpenElement
(0, "my element");
178
builder.
OpenElement
(0, "my element");
198
builder.
OpenElement
(0, "root"); // 1: <root>
201
builder.
OpenElement
(0, "child"); // 4: <child>
203
builder.
OpenElement
(0, "grandchild"); // 6: <grandchild>
209
builder.
OpenElement
(0, "child 2"); // 10: <child 2>
238
builder.
OpenElement
(0, "myelement"); // 0: <myelement
241
builder.
OpenElement
(0, "child"); // 3: <child
264
builder.
OpenElement
(0, "myelement");
283
builder.
OpenElement
(0, "myelement");
329
builder.
OpenElement
(0, "myelement");
336
builder.
OpenElement
(3, "child");
413
builder.
OpenElement
(0, "myelement");
476
builder.
OpenElement
(0, "some element");
491
builder.
OpenElement
(0, "some element");
506
builder.
OpenElement
(0, "some element");
549
builder.
OpenElement
(0, "some element");
594
builder.
OpenElement
(0, "some element");
606
builder.
OpenElement
(10, "parent"); // 0: <parent>
634
builder.
OpenElement
(10, "parent"); // 0: <parent>
661
builder.
OpenElement
(10, "parent"); // 0: <parent>
665
builder.
OpenElement
(3, "another"); // 4: <another>
690
fragmentBuilder.
OpenElement
(1, "Fragment element");
696
builder.
OpenElement
(10, "parent");
717
builder.
OpenElement
(0, "myelement"); // 0: <myelement
786
builder.
OpenElement
(0, "myelement");
842
builder.
OpenElement
(0, "myelement");
895
builder.
OpenElement
(1, "elem");
911
builder.
OpenElement
(0, "elem");
929
builder.
OpenElement
(0, "elem");
986
builder.
OpenElement
(0, "elem");
1004
builder.
OpenElement
(0, "elem");
1063
builder.
OpenElement
(0, "elem");
1081
builder.
OpenElement
(0, "elem");
1100
builder.
OpenElement
(0, "elem");
1118
builder.
OpenElement
(0, "elem");
1180
builder.
OpenElement
(0, "elem");
1199
builder.
OpenElement
(0, "elem");
1218
builder.
OpenElement
(0, "elem");
1277
builder.
OpenElement
(0, "elem");
1296
builder.
OpenElement
(0, "elem");
1315
builder.
OpenElement
(0, "elem");
1373
builder.
OpenElement
(0, "elem");
1391
builder.
OpenElement
(0, "elem");
1428
builder.
OpenElement
(0, "elem");
1466
builder.
OpenElement
(0, "elem");
1506
builder.
OpenElement
(0, "elem");
1545
builder.
OpenElement
(0, "elem");
1564
builder.
OpenElement
(0, "elem");
1583
builder.
OpenElement
(0, "elem");
1622
builder.
OpenElement
(0, "elem");
1641
builder.
OpenElement
(0, "elem");
1660
builder.
OpenElement
(0, "elem");
1678
builder.
OpenElement
(0, "elem");
1696
builder.
OpenElement
(0, "elem");
1761
builder.
OpenElement
(0, "some element");
1777
builder.
OpenElement
(0, "elem");
1817
builder.
OpenElement
(0, "div");
1840
builder.
OpenElement
(0, "div");
1865
builder.
OpenElement
(0, "div");
1890
builder.
OpenElement
(0, "div");
1960
builder.
OpenElement
(0, "div");
1966
builder.
OpenElement
(0, "strong");
1990
builder.
OpenElement
(0, "div");
2026
builder.
OpenElement
(0, "myElem");
2044
builder.
OpenElement
(0, "outerElem");
2045
builder.
OpenElement
(1, "innerElem");
2133
builder.
OpenElement
(0, "something");
2190
builder.
OpenElement
(0, "elem");
2223
builder.
OpenElement
(0, "elem");
2238
builder.
OpenElement
(0, "elem");
2253
builder.
OpenElement
(0, "elem");
2268
builder.
OpenElement
(0, "elem");
RenderTreeDiffBuilderTest.cs (103)
54
builder.
OpenElement
(0, "Some Element");
59
builder.
OpenElement
(0, "Some Element");
115
oldTree.
OpenElement
(0, "container");
120
newTree.
OpenElement
(0, "container");
125
newTree.
OpenElement
(0, "container");
150
oldTree.
OpenElement
(0, "container");
155
oldTree.
OpenElement
(0, "container");
160
newTree.
OpenElement
(0, "container");
180
oldTree.
OpenElement
(0, "container");
185
newTree.
OpenElement
(0, "container");
444
oldTree.
OpenElement
(1, "el");
448
newTree.
OpenElement
(2, "other");
451
newTree.
OpenElement
(1, "el");
455
newTree.
OpenElement
(0, "other 2");
475
oldTree.
OpenElement
(2, "other");
478
oldTree.
OpenElement
(1, "el");
482
oldTree.
OpenElement
(0, "other 2");
485
newTree.
OpenElement
(1, "el");
506
oldTree.
OpenElement
(0, "el");
509
newTree.
OpenElement
(0, "el");
536
oldTree.
OpenElement
(0, "el");
540
newTree.
OpenElement
(0, "el");
788
oldTree.
OpenElement
(123, "old element");
790
newTree.
OpenElement
(123, "new element");
836
oldTree.
OpenElement
(0, "My element");
839
newTree.
OpenElement
(0, "My element");
861
oldTree.
OpenElement
(0, "My element");
865
newTree.
OpenElement
(0, "My element");
885
oldTree.
OpenElement
(0, "My element");
889
newTree.
OpenElement
(0, "My element");
914
oldTree.
OpenElement
(0, "My element");
918
newTree.
OpenElement
(0, "My element");
945
oldTree.
OpenElement
(0, "My element");
948
newTree.
OpenElement
(0, "My element");
974
oldTree.
OpenElement
(0, "My element");
978
newTree.
OpenElement
(0, "My element");
1004
oldTree.
OpenElement
(0, "My element");
1008
newTree.
OpenElement
(0, "My element");
1035
oldTree.
OpenElement
(0, "My element");
1039
newTree.
OpenElement
(0, "My element");
1066
oldTree.
OpenElement
(0, "My element");
1070
newTree.
OpenElement
(0, "My element");
1096
oldTree.
OpenElement
(0, "My element");
1100
newTree.
OpenElement
(0, "My element");
1127
oldTree.
OpenElement
(0, "My element");
1131
newTree.
OpenElement
(0, "My element");
1158
oldTree.
OpenElement
(0, "My element");
1163
newTree.
OpenElement
(0, "My element");
1185
oldTree.
OpenElement
(0, "My element");
1190
newTree.
OpenElement
(0, "My element");
1212
oldTree.
OpenElement
(0, "My element");
1217
newTree.
OpenElement
(0, "My element");
1239
oldTree.
OpenElement
(0, "My element");
1244
newTree.
OpenElement
(0, "My element");
1266
oldTree.
OpenElement
(0, "My element");
1271
newTree.
OpenElement
(0, "My element");
1293
oldTree.
OpenElement
(0, "My element");
1298
newTree.
OpenElement
(0, "My element");
1321
oldTree.
OpenElement
(10, "root");
1322
oldTree.
OpenElement
(11, "child");
1323
oldTree.
OpenElement
(12, "grandchild");
1330
newTree.
OpenElement
(10, "root");
1331
newTree.
OpenElement
(11, "child");
1332
newTree.
OpenElement
(12, "grandchild");
1361
oldTree.
OpenElement
(10, "root");
1363
oldTree.
OpenElement
(12, "Subtree that will not change");
1364
oldTree.
OpenElement
(13, "Another");
1370
newTree.
OpenElement
(10, "root");
1372
newTree.
OpenElement
(12, "Subtree that will not change");
1373
newTree.
OpenElement
(13, "Another");
1426
newTree.
OpenElement
(1, "root");
1552
oldTree.
OpenElement
(11, "container"); // 1: <container>
1555
newTree.
OpenElement
(11, "container"); // 1: <container>
1614
oldTree.
OpenElement
(11, "container"); // 1: <container>
1621
newTree.
OpenElement
(11, "container"); // 1: <container>
1652
oldTree.
OpenElement
(0, "My element");
1655
newTree.
OpenElement
(0, "My element");
1678
oldTree.
OpenElement
(0, "My element");
1681
newTree.
OpenElement
(0, "My element");
1844
newTree.
OpenElement
(0, "My element");
1884
oldTree.
OpenElement
(0, "My element");
1887
newTree.
OpenElement
(0, "My element");
1972
oldTree.
OpenElement
(0, "container");
1979
oldTree.
OpenElement
(0, "container");
1984
newTree.
OpenElement
(0, "container");
1991
newTree.
OpenElement
(0, "container");
2175
oldTree.
OpenElement
(0, "some elem");
2201
newTree.
OpenElement
(0, "some elem");
2222
oldTree.
OpenElement
(0, "existing");
2226
newTree.
OpenElement
(0, "existing");
2230
newTree.
OpenElement
(2, "new element");
2253
oldTree.
OpenElement
(0, "retaining");
2257
oldTree.
OpenElement
(2, "removing");
2261
newTree.
OpenElement
(0, "retaining");
2279
oldTree.
OpenElement
(0, "elem");
2283
newTree.
OpenElement
(0, "elem");
2307
oldTree.
OpenElement
(0, "elem");
2312
newTree.
OpenElement
(0, "elem");
2333
oldTree.
OpenElement
(0, "elem");
2338
newTree.
OpenElement
(0, "elem");
2366
oldTree.
OpenElement
(0, "elem");
2371
newTree.
OpenElement
(0, "elem");
2444
builder.
OpenElement
(0, "el");
RenderTreeUpdaterTest.cs (9)
19
builder.
OpenElement
(0, "elem");
47
builder.
OpenElement
(0, "elem");
72
builder.
OpenElement
(0, "elem");
77
builder.
OpenElement
(3, "elem");
110
builder.
OpenElement
(0, "elem");
135
builder.
OpenElement
(0, "elem");
159
builder.
OpenElement
(0, "grandparent");
161
builder.
OpenElement
(2, "sibling before"); // To show that non-ancestors aren't expanded
163
builder.
OpenElement
(3, "elem with handler");
Microsoft.AspNetCore.Components.Web (21)
Forms\AntiforgeryToken.cs (1)
42
builder.
OpenElement
(0, "input");
Forms\EditForm.cs (1)
140
builder.
OpenElement
(0, "form");
Forms\InputCheckbox.cs (1)
34
builder.
OpenElement
(0, "input");
Forms\InputDate.cs (1)
86
builder.
OpenElement
(0, "input");
Forms\InputFile.cs (1)
60
builder.
OpenElement
(0, "input");
Forms\InputNumber.cs (1)
54
builder.
OpenElement
(0, "input");
Forms\InputRadio.cs (1)
65
builder.
OpenElement
(0, "input");
Forms\InputSelect.cs (1)
41
builder.
OpenElement
(0, "select");
Forms\InputText.cs (1)
34
builder.
OpenElement
(0, "input");
Forms\InputTextArea.cs (1)
34
builder.
OpenElement
(0, "textarea");
Forms\ValidationMessage.cs (1)
73
builder.
OpenElement
(0, "div");
Forms\ValidationSummary.cs (2)
75
builder.
OpenElement
(0, "ul");
80
builder.
OpenElement
(3, "li");
Head\HeadOutlet.cs (1)
61
builder.
OpenElement
(0, "title");
Head\PageTitle.cs (1)
31
builder.
OpenElement
(0, "title");
Routing\FocusOnNavigate.cs (1)
69
builder.
OpenElement
(0, CustomElementName);
Routing\NavLink.cs (1)
162
builder.
OpenElement
(0, "a");
Virtualization\Virtualize.cs (3)
224
builder.
OpenElement
(0, SpacerElement);
285
builder.
OpenElement
(7, SpacerElement);
459
builder.
OpenElement
(0, "div");
Web\ErrorBoundary.cs (1)
47
builder.
OpenElement
(2, "div");
Microsoft.AspNetCore.Components.Web.Tests (52)
HtmlRendering\HtmlRendererTest.cs (51)
52
rtb.
OpenElement
(0, "p");
74
rtb.
OpenElement
(0, "p");
97
rtb.
OpenElement
(0, "p");
120
rtb.
OpenElement
(0, "p");
143
rtb.
OpenElement
(0, "p");
174
rtb.
OpenElement
(0, "p");
200
rtb.
OpenElement
(0, "p");
225
rtb.
OpenElement
(0, "input");
248
rtb.
OpenElement
(0, "input");
271
rtb.
OpenElement
(0, "p");
272
rtb.
OpenElement
(1, "span");
300
rtb.
OpenElement
(0, "p");
301
rtb.
OpenElement
(1, "span");
304
rtb.
OpenElement
(3, "span");
335
rtb.
OpenElement
(0, "p");
336
rtb.
OpenElement
(1, "select");
342
rtb.
OpenElement
(5, "option");
351
rtb.
OpenElement
(9, "option"); // To show other value-matching options don't get marked as selected
376
rtb.
OpenElement
(0, "textarea");
401
rtb.
OpenElement
(0, "textarea");
426
rtb.
OpenElement
(0, "textarea");
450
rtb.
OpenElement
(0, "textarea");
474
rtb.
OpenElement
(0, "input");
498
rtb.
OpenElement
(0, "meta");
521
rtb.
OpenElement
(0, "input");
551
rtb.
OpenElement
(0, "select");
556
rtb.
OpenElement
(2, "optgroup");
557
rtb.
OpenElement
(3, "option");
588
rtb.
OpenElement
(0, "p");
589
rtb.
OpenElement
(1, "span");
619
rtb.
OpenElement
(0, "p");
620
rtb.
OpenElement
(1, "span");
650
rtb.
OpenElement
(0, "p");
651
rtb.
OpenElement
(1, "input");
685
rtb.
OpenElement
(0, "p");
686
rtb.
OpenElement
(1, "span");
713
rtb.
OpenElement
(0, "p");
715
rtb.
OpenElement
(2, "span");
840
builder.
OpenElement
(0, "p");
989
rtb.
OpenElement
(0, "script");
1018
rtb.
OpenElement
(0, "div");
1041
rtb.
OpenElement
(0, "form");
1064
rtb.
OpenElement
(0, "form");
1092
rtb.
OpenElement
(0, "form");
1126
rtb.
OpenElement
(0, "form");
1147
rtb.
OpenElement
(0, "form");
1169
rtb.
OpenElement
(0, "form");
1191
rtb.
OpenElement
(0, "form");
1230
builder.
OpenElement
(0, "p");
1260
builder.
OpenElement
(0, "p");
1288
rtb.
OpenElement
(1, "span");
Virtualization\VirtualizeTest.cs (1)
134
builder.
OpenElement
(0, "div");
Microsoft.AspNetCore.Components.WebView.Test (2)
WebViewManagerTests.cs (2)
133
builder.
OpenElement
(0, "p");
157
builder.
OpenElement
(0, "p");