7 writes to ThrowOnBadRequest
Microsoft.AspNetCore.Http.Extensions.Tests (6)
RequestDelegateFactoryTests.cs (1)
758
var factoryResult = RequestDelegateFactory.Create(StoreNullableIntArray, new() {
ThrowOnBadRequest
= true, DisableInferBodyFromParameters = true });
RequestDelegateFactoryTests.FormMapping.cs (4)
28
ThrowOnBadRequest
= true
75
ThrowOnBadRequest
= true
123
ThrowOnBadRequest
= true
247
ThrowOnBadRequest
= true
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (1)
328
}, new RequestDelegateFactoryOptions() {
ThrowOnBadRequest
= shouldThrow });
Microsoft.AspNetCore.Routing (1)
RouteEndpointDataSource.cs (1)
278
ThrowOnBadRequest
= _throwOnBadRequest,
1 reference to ThrowOnBadRequest
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
285
ThrowOnBadRequest = options?.
ThrowOnBadRequest
?? false,