43 writes to HttpMethod
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
86
HttpMethod
= handlerModel.HttpMethod,
Microsoft.AspNetCore.Mvc.RazorPages.Test (42)
Infrastructure\DefaultPageHandlerMethodSelectorTest.cs (33)
18
HttpMethod
= "GET"
23
HttpMethod
= "POST"
60
HttpMethod
= "GET"
65
HttpMethod
= "POST"
70
HttpMethod
= "HEAD"
108
HttpMethod
= "GET"
113
HttpMethod
= "POST"
120
HttpMethod
= "HEAD",
161
HttpMethod
= "GET"
166
HttpMethod
= "POST"
203
HttpMethod
= "GET"
241
HttpMethod
= "PUT",
245
HttpMethod
= httpMethod,
282
HttpMethod
= "POST",
288
HttpMethod
= "POST",
332
HttpMethod
= "POST",
338
HttpMethod
= "POST",
383
HttpMethod
= "POST",
389
HttpMethod
= "POST",
433
HttpMethod
= "POST",
439
HttpMethod
= "POST",
478
HttpMethod
= "POST",
484
HttpMethod
= "POST",
529
HttpMethod
= "POST",
535
HttpMethod
= "POST",
574
HttpMethod
= "POST",
580
HttpMethod
= "POST",
624
HttpMethod
= "POST",
630
HttpMethod
= "POST",
635
HttpMethod
= "GET",
676
HttpMethod
= "POST",
683
HttpMethod
= "POST",
689
HttpMethod
= "GET",
Infrastructure\PageActionInvokerTest.cs (8)
1460
HttpMethod
= "GET",
1469
HttpMethod
= "GET",
1592
HttpMethod
= "GET",
1598
HttpMethod
= "GET",
1620
HttpMethod
= "GET",
1626
HttpMethod
= "GET",
1648
HttpMethod
= "GET",
1654
HttpMethod
= "GET",
Infrastructure\PageBinderFactoryTest.cs (1)
766
HttpMethod
= "Post",
6 references to HttpMethod
Microsoft.AspNetCore.Mvc.RazorPages (5)
Infrastructure\DefaultPageHandlerMethodSelector.cs (5)
92
if (handler.
HttpMethod
!= null &&
93
string.Equals(handler.
HttpMethod
, httpMethod, StringComparison.OrdinalIgnoreCase))
108
if (handler.
HttpMethod
!= null &&
109
string.Equals(handler.
HttpMethod
, fuzzyHttpMethod, StringComparison.OrdinalIgnoreCase))
137
else if (descriptor.
HttpMethod
!= null)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
236
Assert.Equal(handlerModel.HttpMethod, d.
HttpMethod
);