34 references to Post
Microsoft.AspNetCore.Mvc.TagHelpers.Test (3)
FormTagHelperTest.cs (3)
370
[InlineData(null, FormMethod.
Post
, "<input />")]
371
[InlineData(true, FormMethod.
Post
, "<input />")]
372
[InlineData(false, FormMethod.
Post
, "")]
Microsoft.AspNetCore.Mvc.ViewFeatures (11)
HtmlHelper.cs (1)
647
case FormMethod.
Post
:
Rendering\HtmlHelperFormExtensions.cs (10)
31
method: FormMethod.
Post
,
61
method: FormMethod.
Post
,
190
method: FormMethod.
Post
,
219
method: FormMethod.
Post
,
256
FormMethod.
Post
,
393
method: FormMethod.
Post
,
428
method: FormMethod.
Post
,
452
method: FormMethod.
Post
,
481
method: FormMethod.
Post
,
515
FormMethod.
Post
,
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (20)
Rendering\HtmlHelperFormExtensionsTest.cs (1)
27
FormMethod.
Post
,
Rendering\HtmlHelperFormTest.cs (18)
34
"Details", "Product", null, FormMethod.
Post
, null
40
"Details", "Product", new { isprint = "false", showreviews = "true" }, FormMethod.
Post
, null
47
"Details", "Product", new { isprint = "true", showreviews = "true" }, FormMethod.
Post
,
59
FormMethod.
Post
,
77
null, null, FormMethod.
Post
, null
83
"default", null, FormMethod.
Post
, null
89
"default", new { isprint = "false", showreviews = "true" }, FormMethod.
Post
, null
96
"default", new { isprint = "true", showreviews = "true" }, FormMethod.
Post
,
108
FormMethod.
Post
,
148
method: FormMethod.
Post
,
198
method: FormMethod.
Post
,
432
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: null, htmlAttributes: null))
471
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: false, htmlAttributes: null))
520
[InlineData(FormMethod.
Post
)]
588
using (var form = htmlHelper.BeginForm(FormMethod.
Post
, antiforgery: false, htmlAttributes: null))
668
method: FormMethod.
Post
,
711
method: FormMethod.
Post
,
766
[InlineData(FormMethod.
Post
)]
Rendering\HtmlHelperTest.cs (1)
381
[InlineData(FormMethod.
Post
, "post")]