C# Class REST.Routing.PathStartsWith

Inheritance: IRouteConstraint
Exibir arquivo Open project: bzak/MVC3-Rest-API

Public Methods

Method Description
Match ( System.Web.HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection ) : bool
PathStartsWith ( string match ) : System

Method Details

Match() public method

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
return bool

PathStartsWith() public method

public PathStartsWith ( string match ) : System
match string
return System