C# Class StarDotOne.LocaleRouteConstraint

Inheritance: IRouteConstraint
Afficher le fichier Open project: jongalloway/StarDotOne

Méthodes publiques

Méthode Description
LocaleRouteConstraint ( string locale ) : System
Match ( System.Web.HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection ) : bool

Private Methods

Méthode Description
isValid ( string locale ) : bool

Method Details

LocaleRouteConstraint() public méthode

public LocaleRouteConstraint ( string locale ) : System
locale string
Résultat System

Match() public méthode

public Match ( System.Web.HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection ) : bool
httpContext System.Web.HttpContextBase
route System.Web.Routing.Route
parameterName string
values RouteValueDictionary
routeDirection RouteDirection
Résultat bool