Bagikan melalui


DoubleRouteConstraint Kelas

Definisi

Membatasi parameter rute untuk hanya mewakili nilai floating-point 64-bit.

public ref class DoubleRouteConstraint : Microsoft::AspNetCore::Routing::IRouteConstraint
public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint
public class DoubleRouteConstraint : Microsoft.AspNetCore.Routing.IRouteConstraint, Microsoft.AspNetCore.Routing.Matching.IParameterLiteralNodeMatchingPolicy
type DoubleRouteConstraint = class
    interface IRouteConstraint
type DoubleRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
type DoubleRouteConstraint = class
    interface IParameterPolicy
    interface IRouteConstraint
type DoubleRouteConstraint = class
    interface IRouteConstraint
    interface IParameterPolicy
    interface IParameterLiteralNodeMatchingPolicy
Public Class DoubleRouteConstraint
Implements IRouteConstraint
Public Class DoubleRouteConstraint
Implements IParameterLiteralNodeMatchingPolicy, IRouteConstraint
Warisan
DoubleRouteConstraint
Penerapan

Konstruktor

DoubleRouteConstraint()

Membatasi parameter rute untuk hanya mewakili nilai floating-point 64-bit.

Metode

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

Menentukan apakah parameter URL berisi nilai yang valid untuk batasan ini.

Implementasi Antarmuka Eksplisit

IParameterLiteralNodeMatchingPolicy.MatchesLiteral(String, String)

Membatasi parameter rute untuk hanya mewakili nilai floating-point 64-bit.

Berlaku untuk