Share via


BoolRouteConstraint Class

Definition

Constrains a route parameter to represent only Boolean values.

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
Inheritance
BoolRouteConstraint
Implements

Constructors

BoolRouteConstraint()

Methods

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

Determines whether the URL parameter contains a valid value for this constraint.

Explicit Interface Implementations

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Applies to