Compartir a través de


KnownRouteValueConstraint Clase

Definición

que IRouteConstraint representa un valor de ruta conocido.

public ref class KnownRouteValueConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class KnownRouteValueConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
type KnownRouteValueConstraint = class
    interface IRouteConstraint
type KnownRouteValueConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type KnownRouteValueConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
Public Class KnownRouteValueConstraint
Implements IRouteConstraint
Herencia
KnownRouteValueConstraint
Implementaciones

Constructores

KnownRouteValueConstraint()
Obsoletos.

que IRouteConstraint representa un valor de ruta conocido.

KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Inicializa una instancia de KnownRouteValueConstraint.

Métodos

Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection)

Determina si el parámetro de dirección URL contiene un valor válido para esta restricción.

Se aplica a