36 references to FormMethod
Microsoft.AspNetCore.Mvc.TagHelpers (1)
FormTagHelper.cs (1)
92/// or if the <c>method</c> is <see cref="FormMethod.Get"/>; <c>true</c> otherwise.</value>
Microsoft.AspNetCore.Mvc.ViewFeatures (35)
HtmlHelper.cs (11)
231FormMethod method, 248FormMethod method, 641public static string GetFormMethodString(FormMethod method) 645case FormMethod.Get: 647case FormMethod.Post: 884/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>. 900FormMethod method, 917var shouldGenerateAntiforgery = antiforgery ?? method != FormMethod.Get; 942/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>. 957FormMethod method, 973var shouldGenerateAntiforgery = antiforgery ?? method != FormMethod.Get;
Rendering\HtmlHelperFormExtensions.cs (20)
31method: FormMethod.Post, 61method: FormMethod.Post, 78public static MvcForm BeginForm(this IHtmlHelper htmlHelper, FormMethod method) 110FormMethod method, 134/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>. 149FormMethod method, 190method: FormMethod.Post, 219method: FormMethod.Post, 256FormMethod.Post, 279FormMethod method) 318FormMethod method) 354FormMethod method, 393method: FormMethod.Post, 428method: FormMethod.Post, 452method: FormMethod.Post, 481method: FormMethod.Post, 515FormMethod.Post, 536FormMethod method) 572FormMethod method) 605FormMethod method,
Rendering\IHtmlHelper.cs (4)
112/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>. 128FormMethod method, 148/// <paramref name="method"/> is not <see cref="FormMethod.Get"/>. 163FormMethod method,