Share via


DecimalRouteConstraint Class

Definition

Constrains a route parameter to represent only decimal values.

public ref class DecimalRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class DecimalRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type DecimalRouteConstraint = class
    interface IRouteConstraint
type DecimalRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type DecimalRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type DecimalRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class DecimalRouteConstraint
Implements IRouteConstraint
Public Class DecimalRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Inheritance
DecimalRouteConstraint
Implements

Constructors

DecimalRouteConstraint()

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