Condividi tramite


KnownRouteValueConstraint Classe

Definizione

Oggetto IRouteConstraint che rappresenta un valore di route noto.

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
Ereditarietà
KnownRouteValueConstraint
Implementazioni

Costruttori

KnownRouteValueConstraint()
Obsoleti.

Oggetto IRouteConstraint che rappresenta un valore di route noto.

KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

Inizializza un'istanza di KnownRouteValueConstraint.

Metodi

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

Determina se il parametro URL contiene un valore valido per questo vincolo.

Si applica a