C# Class REST.Routing.PathDoesNotStartWith

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
PathDoesNotStartWith ( 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

PathDoesNotStartWith() public method

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