2 instantiations of ConsumesConstraintForFormFileParameterConvention
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (1)
40ActionModelConventions.Add(new ConsumesConstraintForFormFileParameterConvention());
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (1)
53return new ConsumesConstraintForFormFileParameterConvention();
7 references to ConsumesConstraintForFormFileParameterConvention
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
138c => Assert.IsType<ConsumesConstraintForFormFileParameterConvention>(c), 174Assert.Empty(provider.ActionModelConventions.OfType<ConsumesConstraintForFormFileParameterConvention>());
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (5)
19var convention = GetConvention(); 22ConsumesConstraintForFormFileParameterConvention.AddMultipartFormDataConsumesAttribute(action); 40var convention = GetConvention(); 43ConsumesConstraintForFormFileParameterConvention.AddMultipartFormDataConsumesAttribute(action); 51private ConsumesConstraintForFormFileParameterConvention GetConvention()