2 instantiations of InvalidModelStateFilterConvention
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (1)
35
ActionModelConventions.Add(new
InvalidModelStateFilterConvention
());
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\InvalidModelStateFilterConventionTest.cs (1)
33
return new
InvalidModelStateFilterConvention
();
4 references to InvalidModelStateFilterConvention
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
137
c => Assert.IsType<
InvalidModelStateFilterConvention
>(c),
164
Assert.Empty(provider.ActionModelConventions.OfType<
InvalidModelStateFilterConvention
>());
ApplicationModels\InvalidModelStateFilterConventionTest.cs (2)
15
var
convention = GetConvention();
31
private
InvalidModelStateFilterConvention
GetConvention()