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