1 instantiation of MvcForm
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlHelper.cs (1)
700return new MvcForm(ViewContext, _htmlEncoder);
97 references to MvcForm
Microsoft.AspNetCore.Mvc.ViewFeatures (53)
HtmlHelper.cs (10)
227public MvcForm BeginForm( 245public MvcForm BeginRouteForm( 264var mvcForm = CreateForm(); 694/// Override this method to return an <see cref="MvcForm"/> subclass. That subclass may change 697/// <returns>A new <see cref="MvcForm"/> instance.</returns> 698protected virtual MvcForm CreateForm() 891/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 896protected virtual MvcForm GenerateForm( 949/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 954protected virtual MvcForm GenerateRouteForm(
Rendering\HtmlHelperFormExtensions.cs (38)
17/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 22public static MvcForm BeginForm(this IHtmlHelper htmlHelper) 47/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 52public static MvcForm BeginForm(this IHtmlHelper htmlHelper, bool? antiforgery) 73/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 78public static MvcForm BeginForm(this IHtmlHelper htmlHelper, FormMethod method) 103/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 108public static MvcForm BeginForm( 142/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 147public static MvcForm BeginForm( 177/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 182public static MvcForm BeginForm(this IHtmlHelper htmlHelper, object routeValues) 203/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 208public static MvcForm BeginForm( 239/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 244public static MvcForm BeginForm( 270/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 275public static MvcForm BeginForm( 308/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 313public static MvcForm BeginForm( 345/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 350public static MvcForm BeginForm( 381/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 386public static MvcForm BeginRouteForm(this IHtmlHelper htmlHelper, object routeValues) 416/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 421public static MvcForm BeginRouteForm(this IHtmlHelper htmlHelper, object routeValues, bool? antiforgery) 440/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 445public static MvcForm BeginRouteForm(this IHtmlHelper htmlHelper, string routeName) 469/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 474public static MvcForm BeginRouteForm(this IHtmlHelper htmlHelper, string routeName, bool? antiforgery) 500/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 505public static MvcForm BeginRouteForm( 528/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 533public static MvcForm BeginRouteForm( 563/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 568public static MvcForm BeginRouteForm( 597/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 602public static MvcForm BeginRouteForm(
Rendering\IHtmlHelper.cs (4)
119/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 124MvcForm BeginForm( 155/// An <see cref="MvcForm"/> instance which renders the &lt;/form&gt; end tag when disposed. 160MvcForm BeginRouteForm(
Rendering\MvcForm.cs (1)
21/// Initializes a new instance of <see cref="MvcForm"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (44)
DefaultEditorTemplatesTest.cs (2)
1427public MvcForm BeginForm( 1438public MvcForm BeginRouteForm(
Rendering\HtmlHelperFormExtensionsTest.cs (27)
302var mvcForm = htmlHelper.BeginForm(); 339var mvcForm = htmlHelper.BeginForm(antiforgery: true); 372var mvcForm = htmlHelper.BeginForm(antiforgery: false); 414var mvcForm = htmlHelper.BeginForm(method); 458var mvcForm = htmlHelper.BeginForm(method, htmlAttributes); 498var mvcForm = htmlHelper.BeginForm(method, antiforgery: true, htmlAttributes: htmlAttributes); 534var mvcForm = htmlHelper.BeginForm(method, antiforgery: false, htmlAttributes: htmlAttributes); 572var mvcForm = htmlHelper.BeginForm(routeValues); 612var mvcForm = htmlHelper.BeginForm(actionName, controllerName); 653var mvcForm = htmlHelper.BeginForm(actionName, controllerName, routeValues); 698var mvcForm = htmlHelper.BeginForm(actionName, controllerName, method); 744var mvcForm = htmlHelper.BeginForm(actionName, controllerName, routeValues, method); 790var mvcForm = htmlHelper.BeginForm(actionName, controllerName, method, htmlAttributes); 832var mvcForm = htmlHelper.BeginForm( 876var mvcForm = htmlHelper.BeginForm( 919var mvcForm = htmlHelper.BeginRouteForm(routeValues); 957var mvcForm = htmlHelper.BeginRouteForm(routeValues, antiforgery: true); 991var mvcForm = htmlHelper.BeginRouteForm(routeValues, antiforgery: false); 1028var mvcForm = htmlHelper.BeginRouteForm(routeName); 1066var mvcForm = htmlHelper.BeginRouteForm(routeName, antiforgery: true); 1100var mvcForm = htmlHelper.BeginRouteForm(routeName, antiforgery: false); 1139var mvcForm = htmlHelper.BeginRouteForm(routeName, routeValues); 1182var mvcForm = htmlHelper.BeginRouteForm(routeName, method); 1226var mvcForm = htmlHelper.BeginRouteForm(routeName, routeValues, method); 1270var mvcForm = htmlHelper.BeginRouteForm(routeName, method, htmlAttributes); 1310var mvcForm = htmlHelper.BeginRouteForm( 1351var mvcForm = htmlHelper.BeginRouteForm(
Rendering\HtmlHelperFormTest.cs (15)
144var mvcForm = htmlHelper.BeginForm( 194var mvcForm = htmlHelper.BeginForm( 248var mvcForm = htmlHelper.BeginForm( 298var mvcForm = htmlHelper.BeginRouteForm( 394using (var form = htmlHelper.BeginForm()) 432using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: null, htmlAttributes: null)) 471using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: false, htmlAttributes: null)) 509using (var form = htmlHelper.BeginForm(FormMethod.Get, antiforgery: null, htmlAttributes: null)) 549using (var form = htmlHelper.BeginForm(method, antiforgery: true, htmlAttributes: null)) 588using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: false, htmlAttributes: null)) 628using (var form = htmlHelper.BeginRouteForm(routeValues: null)) 665using (var form = htmlHelper.BeginRouteForm( 708using (var form = htmlHelper.BeginRouteForm( 750using (var form = htmlHelper.BeginRouteForm( 794using (var form = htmlHelper.BeginRouteForm(