55 instantiations of RequestBodyDetectionFeature
Microsoft.AspNetCore.Http.Extensions.Tests (55)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
222
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.Arrays.cs (5)
622
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
649
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
676
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
703
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
730
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (2)
217
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
273
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (1)
236
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (25)
37
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
72
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
107
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
145
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
183
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
224
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
261
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
297
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
324
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
371
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
404
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
454
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
493
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
552
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
599
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
646
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
675
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
708
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
738
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
768
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
831
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
875
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
933
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
965
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
1002
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (7)
85
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(requestData is not null));
105
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(false));
235
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
276
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
320
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
361
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
426
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (1)
200
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(false));
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (6)
386
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
484
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
520
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
561
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
600
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
640
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (7)
32
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
68
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
100
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
137
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
174
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
209
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));
246
httpContext.Features.Set<IHttpRequestBodyDetectionFeature>(new
RequestBodyDetectionFeature
(true));