20 references to EndOfFormContent
Microsoft.AspNetCore.Mvc.TagHelpers (3)
InputTagHelper.cs (1)
357ViewContext.FormContext.EndOfFormContent.Add(hiddenForCheckboxTag);
RenderAtEndOfFormTagHelper.cs (2)
55for (var i = 0; i < formContext.EndOfFormContent.Count; i++) 57output.PostContent.AppendHtml(formContext.EndOfFormContent[i]);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
InputTagHelperTest.cs (2)
1078Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.EndOfFormContent.Select(html => HtmlContentUtilities.HtmlContentToString(html)))); 1381Assert.Equal(expectedEndOfFormContent, string.Join("", viewContext.FormContext.EndOfFormContent.Select(html => HtmlContentUtilities.HtmlContentToString(html))));
RenderAtEndOfFormTagHelperTest.cs (2)
55viewContext.FormContext.EndOfFormContent.Add(item); 98viewContext.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/// &lt;form&gt; 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)
754ViewContext.FormContext.EndOfFormContent.Add(hiddenForCheckbox); 920ViewContext.FormContext.EndOfFormContent.Add(_htmlGenerator.GenerateAntiforgery(ViewContext)); 976ViewContext.FormContext.EndOfFormContent.Add(_htmlGenerator.GenerateAntiforgery(ViewContext));
Rendering\MvcForm.cs (3)
53/// Renders <see cref="ViewFeatures.FormContext.EndOfFormContent"/> and 73foreach (var content in formContext.EndOfFormContent) 80foreach (var content in formContext.EndOfFormContent)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Rendering\HtmlHelperCheckboxTest.cs (2)
163var hiddenTag = Assert.Single(helper.ViewContext.FormContext.EndOfFormContent); 229var hiddenTag = Assert.Single(helper.ViewContext.FormContext.EndOfFormContent);
Rendering\HtmlHelperFormTest.cs (1)
353htmlHelper.ViewContext.FormContext.EndOfFormContent.Add(tagBuilder);