36 references to Get
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.TagHelpers.Test (3)
FormTagHelperTest.cs (3)
373
[InlineData(null, FormMethod.
Get
, "")]
374
[InlineData(true, FormMethod.
Get
, "<input />")]
375
[InlineData(false, FormMethod.
Get
, "")]
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
HtmlHelper.cs (5)
645
case FormMethod.
Get
:
884
/// <paramref name="method"/> is not <see cref="FormMethod.
Get
"/>.
917
var shouldGenerateAntiforgery = antiforgery ?? method != FormMethod.
Get
;
942
/// <paramref name="method"/> is not <see cref="FormMethod.
Get
"/>.
973
var shouldGenerateAntiforgery = antiforgery ?? method != FormMethod.
Get
;
Rendering\HtmlHelperFormExtensions.cs (1)
134
/// <paramref name="method"/> is not <see cref="FormMethod.
Get
"/>.
Rendering\IHtmlHelper.cs (2)
112
/// <paramref name="method"/> is not <see cref="FormMethod.
Get
"/>.
148
/// <paramref name="method"/> is not <see cref="FormMethod.
Get
"/>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (24)
Rendering\HtmlHelperFormExtensionsTest.cs (9)
26
FormMethod.
Get
,
399
if (method != FormMethod.
Get
)
443
if (method != FormMethod.
Get
)
683
if (method != FormMethod.
Get
)
729
if (method != FormMethod.
Get
)
775
if (method != FormMethod.
Get
)
1167
if (method != FormMethod.
Get
)
1211
if (method != FormMethod.
Get
)
1255
if (method != FormMethod.
Get
)
Rendering\HtmlHelperFormTest.cs (14)
28
null, null, null, FormMethod.
Get
, null
31
"Details", "Product", null, FormMethod.
Get
, null
37
"Details", "Product", new { isprint = "false", showreviews = "false" }, FormMethod.
Get
, null
43
"Details", "Product", new { isprint = "true", showreviews = "false" }, FormMethod.
Get
,
53
FormMethod.
Get
,
74
null, null, FormMethod.
Get
, null
80
"default", null, FormMethod.
Get
, null
86
"default", new { isprint = "false", showreviews = "false" }, FormMethod.
Get
, null
92
"default", new { isprint = "true", showreviews = "false" }, FormMethod.
Get
,
102
FormMethod.
Get
,
509
using (var form = htmlHelper.BeginForm(FormMethod.
Get
, antiforgery: null, htmlAttributes: null))
519
[InlineData(FormMethod.
Get
)]
753
method: FormMethod.
Get
,
765
[InlineData(FormMethod.
Get
)]
Rendering\HtmlHelperTest.cs (1)
380
[InlineData(FormMethod.
Get
, "get")]