MaxRouteConstraint Klasa

Definicja

Ogranicza parametr trasy jako liczbę całkowitą z maksymalną wartością.

public ref class MaxRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class MaxRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type MaxRouteConstraint = class
    interface IRouteConstraint
type MaxRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type MaxRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type MaxRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class MaxRouteConstraint
Implements IRouteConstraint
Public Class MaxRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Dziedziczenie
MaxRouteConstraint
Implementuje

Konstruktory

MaxRouteConstraint(Int64)

Inicjuje nowe wystąpienie klasy MaxRouteConstraint.

Właściwości

Max

Pobiera maksymalną dozwoloną wartość parametru trasy.

Metody

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

Określa, czy parametr adresu URL zawiera prawidłową wartość tego ograniczenia.

Jawne implementacje interfejsu

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Ogranicza parametr trasy jako liczbę całkowitą z maksymalną wartością.

Dotyczy