1 write to _apiBehaviorOptions
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ModelStateInvalidFilter.cs (1)
31
_apiBehaviorOptions
= apiBehaviorOptions ?? throw new ArgumentNullException(nameof(apiBehaviorOptions));
3 references to _apiBehaviorOptions
Microsoft.AspNetCore.Mvc.Core (3)
Infrastructure\ModelStateInvalidFilter.cs (3)
32
if (!
_apiBehaviorOptions
.SuppressModelStateInvalidFilter &&
_apiBehaviorOptions
.InvalidModelStateResponseFactory == null)
79
context.Result =
_apiBehaviorOptions
.InvalidModelStateResponseFactory(context);