IRouteConstraint Arabirim

Tanım

URL parametre değerinin kısıtlama için geçerli olup olmadığını denetlemek için bir sınıfın uygulaması gereken sözleşmeyi tanımlar.

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
Türetilmiş
Uygulamalar

Yöntemler

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

URL parametresinin bu kısıtlama için geçerli bir değer içerip içermediğini belirler.

Şunlara uygulanır