66 references to SelfClosing
Microsoft.AspNetCore.Mvc.TagHelpers (1)
InputTagHelper.cs (1)
334
output.TagMode == TagMode.
SelfClosing
? TagRenderMode.SelfClosing : TagRenderMode.StartTag;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (42)
InputTagHelperTest.cs (31)
94
TagMode = TagMode.
SelfClosing
,
142
TagMode = TagMode.
SelfClosing
,
189
TagMode = TagMode.
SelfClosing
,
233
TagMode = TagMode.
SelfClosing
,
285
TagMode = TagMode.
SelfClosing
,
330
TagMode = TagMode.
SelfClosing
,
384
TagMode = TagMode.
SelfClosing
,
440
TagMode = TagMode.
SelfClosing
,
491
TagMode = TagMode.
SelfClosing
,
547
TagMode = TagMode.
SelfClosing
,
893
TagMode = TagMode.
SelfClosing
,
947
TagMode = TagMode.
SelfClosing
,
1007
TagMode = TagMode.
SelfClosing
,
1067
TagMode = TagMode.
SelfClosing
,
1127
TagMode = TagMode.
SelfClosing
,
1172
TagMode = TagMode.
SelfClosing
,
1215
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
1370
TagMode = TagMode.
SelfClosing
,
1768
TagMode = TagMode.
SelfClosing
,
1808
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
1841
TagMode = TagMode.
SelfClosing
,
1877
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
1910
TagMode = TagMode.
SelfClosing
,
1946
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
2004
TagMode = TagMode.
SelfClosing
,
2040
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
2084
TagMode = TagMode.
SelfClosing
,
2146
TagMode = TagMode.
SelfClosing
,
2214
TagMode = TagMode.
SelfClosing
,
2280
TagMode = TagMode.
SelfClosing
,
2338
TagMode = TagMode.
SelfClosing
,
LinkTagHelperTest.cs (1)
1164
TagMode = TagMode.
SelfClosing
,
SelectTagHelperTest.cs (8)
214
TagMode = TagMode.
SelfClosing
,
239
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
304
TagMode = TagMode.
SelfClosing
,
338
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
395
TagMode = TagMode.
SelfClosing
,
419
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
484
TagMode = TagMode.
SelfClosing
,
518
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
TextAreaTagHelperTest.cs (2)
140
TagMode = TagMode.
SelfClosing
,
151
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
Microsoft.AspNetCore.Razor (3)
TagHelpers\TagHelperOutput.cs (3)
301
if (TagMode == TagMode.
SelfClosing
)
350
if (TagMode == TagMode.
SelfClosing
)
405
if (TagMode == TagMode.
SelfClosing
)
Microsoft.AspNetCore.Razor.Runtime.Test (7)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (3)
110
var updatedTagMode = TagMode.
SelfClosing
;
190
[InlineData(TagMode.
SelfClosing
)]
497
var executionContext = new TagHelperExecutionContext("input", tagMode: TagMode.
SelfClosing
);
Runtime\TagHelpers\TagHelperRunnerTest.cs (3)
112
[InlineData(TagMode.
SelfClosing
)]
169
Assert.Equal(TagMode.
SelfClosing
, output.TagMode);
223
output.TagMode = TagMode.
SelfClosing
;
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (1)
154
[InlineData(TagMode.
SelfClosing
)]
Microsoft.AspNetCore.Razor.Test (13)
TagHelpers\TagHelperOutputTest.cs (13)
40
var expectedTagMode = TagMode.
SelfClosing
;
557
tagMode: TagMode.
SelfClosing
,
573
tagMode: TagMode.
SelfClosing
,
664
tagMode: TagMode.
SelfClosing
,
700
tagMode: TagMode.
SelfClosing
,
748
tagMode: TagMode.
SelfClosing
,
760
tagMode: TagMode.
SelfClosing
,
772
tagMode: TagMode.
SelfClosing
,
859
tagMode: TagMode.
SelfClosing
,
871
tagMode: TagMode.
SelfClosing
,
883
tagMode: TagMode.
SelfClosing
,
955
tagMode: TagMode.
SelfClosing
,
967
tagMode: TagMode.
SelfClosing
,