IConsumesActionConstraint Interface

An Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint constraint that identifies a type which can be used to select an action based on incoming request.

Namespace
Microsoft.AspNetCore.Mvc.Internal
Assemblies
  • Microsoft.AspNetCore.Mvc.Core

Syntax

public interface IConsumesActionConstraint : IActionConstraint, IActionConstraintMetadata
interface Microsoft.AspNetCore.Mvc.Internal.IConsumesActionConstraint