BoolRouteConstraint Classe

Definição

Restringe um parâmetro de rota para representar apenas valores boolianos.

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
Herança
BoolRouteConstraint
Implementações

Construtores

BoolRouteConstraint()

Restringe um parâmetro de rota para representar apenas valores boolianos.

Métodos

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

Determina se o parâmetro da URL contém um valor válido para esta restrição.

Implantações explícitas de interface

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Restringe um parâmetro de rota para representar apenas valores boolianos.

Aplica-se a