IRouteConstraint Rozhraní

Definice

Definuje kontrakt, který musí třída implementovat, aby se zkontrolovalo, jestli je hodnota parametru adresy URL pro omezení platná.

public interface class IRouteConstraint
public interface class IRouteConstraint : Microsoft::AspNetCore::Routing::IParameterPolicy
public interface IRouteConstraint
public interface IRouteConstraint : Microsoft.AspNetCore.Routing.IParameterPolicy
type IRouteConstraint = interface
type IRouteConstraint = interface
    interface IParameterPolicy
Public Interface IRouteConstraint
Public Interface IRouteConstraint
Implements IParameterPolicy
Odvozené
Implementuje

Metody

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

Určuje, zda parametr adresy URL obsahuje platnou hodnotu pro toto omezení.

Platí pro