20 references to EndOfFormContent
Microsoft.AspNetCore.Mvc.TagHelpers (3)
InputTagHelper.cs (1)
357
ViewContext.FormContext.
EndOfFormContent
.Add(hiddenForCheckboxTag);
RenderAtEndOfFormTagHelper.cs (2)
55
for (var i = 0; i < formContext.
EndOfFormContent
.Count; i++)
57
output.PostContent.AppendHtml(formContext.
EndOfFormContent
[i]);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
InputTagHelperTest.cs (2)
1078
Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.
EndOfFormContent
.Select(html => HtmlContentUtilities.HtmlContentToString(html))));
1381
Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.
EndOfFormContent
.Select(html => HtmlContentUtilities.HtmlContentToString(html))));
RenderAtEndOfFormTagHelperTest.cs (2)
55
viewContext.FormContext.
EndOfFormContent
.Add(item);
98
viewContext.FormContext.
EndOfFormContent
.Add(item);
Microsoft.AspNetCore.Mvc.ViewFeatures (10)
FormContext.cs (4)
60
/// Gets an indication the <see cref="
EndOfFormContent
"/> collection has been used and likely contains entries.
63
/// <c>true</c> if the backing field for <see cref="
EndOfFormContent
"/> is non-<c>null</c>; <c>false</c>
87
/// <form> element. That is, <see cref="
EndOfFormContent
"/> will be rendered just prior to the
91
/// <c>true</c> if the framework will render <see cref="
EndOfFormContent
"/>; <c>false</c> otherwise. In
HtmlHelper.cs (3)
754
ViewContext.FormContext.
EndOfFormContent
.Add(hiddenForCheckbox);
920
ViewContext.FormContext.
EndOfFormContent
.Add(_htmlGenerator.GenerateAntiforgery(ViewContext));
976
ViewContext.FormContext.
EndOfFormContent
.Add(_htmlGenerator.GenerateAntiforgery(ViewContext));
Rendering\MvcForm.cs (3)
53
/// Renders <see cref="ViewFeatures.FormContext.
EndOfFormContent
"/> and
73
foreach (var content in formContext.
EndOfFormContent
)
80
foreach (var content in formContext.
EndOfFormContent
)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperCheckboxTest.cs (2)
163
var hiddenTag = Assert.Single(helper.ViewContext.FormContext.
EndOfFormContent
);
229
var hiddenTag = Assert.Single(helper.ViewContext.FormContext.
EndOfFormContent
);
Rendering\HtmlHelperFormTest.cs (1)
353
htmlHelper.ViewContext.FormContext.
EndOfFormContent
.Add(tagBuilder);