C# Class Microsoft.AspNetCore.SpaServices.SpaRouteConstraint

Inheritance: IRouteConstraint
Afficher le fichier Open project: aspnet/JavaScriptServices

Méthodes publiques

Méthode Description
Match ( HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection ) : bool
SpaRouteConstraint ( string clientRouteTokenName ) : System

Private Methods

Méthode Description
HasDotInLastSegment ( string uri ) : bool

Method Details

Match() public méthode

public Match ( HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection ) : bool
httpContext HttpContext
route IRouter
routeKey string
values RouteValueDictionary
routeDirection RouteDirection
Résultat bool

SpaRouteConstraint() public méthode

public SpaRouteConstraint ( string clientRouteTokenName ) : System
clientRouteTokenName string
Résultat System