C# Class Beffyman.AspNetCore.Client.Generator.Framework.AspNetCoreHttp.Routes.Constraints.BoolConstraint

Matches true or false (case-insensitive)
Inheritance: Beffyman.AspNetCore.Client.Generator.Framework.AspNetCoreHttp.Routes.Constraints.RouteConstraint
Show file Open project: Beffyman/AspNetCore.Client

Public Methods

Method Description
BoolConstraint ( string name, string constraint ) : System

Calls the base constructor

IsMatch ( ) : bool

Detects whether or not the ParameterName + Constraint values are valid for this constraint

Method Details

BoolConstraint() public method

Calls the base constructor
public BoolConstraint ( string name, string constraint ) : System
name string
constraint string
return System

IsMatch() public method

Detects whether or not the ParameterName + Constraint values are valid for this constraint
public IsMatch ( ) : bool
return bool