BoolRouteConstraint Klasse

Definition

Schränkt einen Routenparameter so ein, dass er nur boolesche Werte darstellt.

public ref class BoolRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class BoolRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class BoolRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type BoolRouteConstraint = class
    interface IRouteConstraint
type BoolRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
type BoolRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type BoolRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
Public Class BoolRouteConstraint
Implements IRouteConstraint
Public Class BoolRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Vererbung
BoolRouteConstraint
Implementiert

Konstruktoren

Name Beschreibung
BoolRouteConstraint()

Schränkt einen Routenparameter so ein, dass er nur boolesche Werte darstellt.

Methoden

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

Bestimmt, ob der URL-Parameter einen gültigen Wert für diese Einschränkung enthält.

Explizite Schnittstellenimplementierungen

Name Beschreibung
IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Schränkt einen Routenparameter so ein, dass er nur boolesche Werte darstellt.

Gilt für: