4 instantiations of ModelStateInvalidFilter
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ModelStateInvalidFilterFactory.cs (1)
24
return new
ModelStateInvalidFilter
(options.Value, loggerFactory.CreateLogger(typeof(ModelStateInvalidFilter)));
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ModelStateInvalidFilterTest.cs (3)
22
var filter = new
ModelStateInvalidFilter
(options, NullLogger.Instance);
42
var filter = new
ModelStateInvalidFilter
(options, NullLogger.Instance);
61
var filter = new
ModelStateInvalidFilter
(options, NullLogger.Instance);
7 references to ModelStateInvalidFilter
Microsoft.AspNetCore.Mvc.Core (4)
Infrastructure\ModelStateInvalidFilter.cs (1)
25
/// Initializes a new instance of <see cref="
ModelStateInvalidFilter
"/>.
Infrastructure\ModelStateInvalidFilterFactory.cs (2)
15
public int Order =>
ModelStateInvalidFilter
.FilterOrder;
24
return new ModelStateInvalidFilter(options.Value, loggerFactory.CreateLogger(typeof(
ModelStateInvalidFilter
)));
ModelBinding\UnsupportedContentTypeFilter.cs (1)
21
/// Defaults to <c>-3000</c> to ensure it executes before <see cref="
ModelStateInvalidFilter
"/>.
Microsoft.AspNetCore.Mvc.Core.Test (3)
Infrastructure\ModelStateInvalidFilterTest.cs (3)
22
var
filter = new ModelStateInvalidFilter(options, NullLogger.Instance);
42
var
filter = new ModelStateInvalidFilter(options, NullLogger.Instance);
61
var
filter = new ModelStateInvalidFilter(options, NullLogger.Instance);