Condividi tramite


BoolRouteConstraint Classe

Definizione

Vincola un parametro di route affinché rappresenti solo valori booleani.

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
type BoolRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type BoolRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class BoolRouteConstraint
Implements IRouteConstraint
Public Class BoolRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Ereditarietà
BoolRouteConstraint
Implementazioni

Costruttori

BoolRouteConstraint()

Vincola un parametro di route affinché rappresenti solo valori booleani.

Metodi

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

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

Implementazioni dell'interfaccia esplicita

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Vincola un parametro di route affinché rappresenti solo valori booleani.

Si applica a