1 instantiation of ConsumesAttribute
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (1)
54
action.Filters.Add(new
ConsumesAttribute
("multipart/form-data"));
5 references to ConsumesAttribute
Microsoft.AspNetCore.Mvc.Core (5)
ApplicationModels\ConsumesConstraintForFormFileParameterConvention.cs (1)
11
/// An <see cref="IActionModelConvention"/> that adds a <see cref="
ConsumesAttribute
"/> with <c>multipart/form-data</c>
ConsumesAttribute.cs (2)
35
/// Creates a new instance of <see cref="
ConsumesAttribute
"/>.
57
/// Creates a new instance of <see cref="
ConsumesAttribute
"/>.
Routing\ActionConstraintMatcherPolicy.cs (1)
62
else if (actionConstraint.GetType() == typeof(
ConsumesAttribute
))
Routing\ActionEndpointFactory.cs (1)
423
else if (actionConstraint is
ConsumesAttribute
consumesAttribute &&