1 implementation of IConsumesActionConstraint
Microsoft.AspNetCore.Mvc.Core (1)
ConsumesAttribute.cs (1)
24IConsumesActionConstraint,
4 references to IConsumesActionConstraint
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (1)
43if (action.Filters.OfType<IConsumesActionConstraint>().Any())
ConsumesAttribute.cs (3)
170!candidate.Constraints.Any(constraint => constraint is IConsumesActionConstraint)); 211candidate.Constraints.Any(constraint => constraint is IConsumesActionConstraint && 233filter => filter.Filter is IConsumesActionConstraint).Filter == this;