C# Class Rebel.Cms.Web.Routing.IgnorePluginRoute.IgnoreExistingControllersConstraint

The internal constraint class to match the previously registered controller names
Inheritance: IRouteConstraint
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
IgnoreExistingControllersConstraint ( IRebelApplicationContext appContext, string areaName, IEnumerable toIgnore ) : System.Collections.Concurrent
Match ( System.Web.HttpContextBase httpContext, Route route, string parameterName, RouteValueDictionary values, RouteDirection routeDirection ) : bool

Method Details

IgnoreExistingControllersConstraint() public method

public IgnoreExistingControllersConstraint ( IRebelApplicationContext appContext, string areaName, IEnumerable toIgnore ) : System.Collections.Concurrent
appContext IRebelApplicationContext
areaName string
toIgnore IEnumerable
return System.Collections.Concurrent

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