C# Class MvcDomainRouting.Code.DomainRoute

Inheritance: System.Web.Routing.Route
显示文件 Open project: RyannosaurusRex/Shoelace-MVC

Public Methods

Method Description
DomainRoute ( string domain, string url, RouteValueDictionary defaults ) : System
DomainRoute ( string domain, string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System
DomainRoute ( string domain, string url, object defaults ) : System
DomainRoute ( string domain, string url, object defaults, IRouteHandler routeHandler ) : System
GetDomainData ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : MvcDomainRouting.Code.DomainData
GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData
GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData

Private Methods

Method Description
CreateRegex ( string source ) : Regex
RemoveDomainTokens ( RouteValueDictionary values ) : RouteValueDictionary

Method Details

DomainRoute() public method

public DomainRoute ( string domain, string url, RouteValueDictionary defaults ) : System
domain string
url string
defaults RouteValueDictionary
return System

DomainRoute() public method

public DomainRoute ( string domain, string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System
domain string
url string
defaults RouteValueDictionary
routeHandler IRouteHandler
return System

DomainRoute() public method

public DomainRoute ( string domain, string url, object defaults ) : System
domain string
url string
defaults object
return System

DomainRoute() public method

public DomainRoute ( string domain, string url, object defaults, IRouteHandler routeHandler ) : System
domain string
url string
defaults object
routeHandler IRouteHandler
return System

GetDomainData() public method

public GetDomainData ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : MvcDomainRouting.Code.DomainData
requestContext System.Web.Routing.RequestContext
values RouteValueDictionary
return MvcDomainRouting.Code.DomainData

GetRouteData() public method

public GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData
httpContext System.Web.HttpContextBase
return System.Web.Routing.RouteData

GetVirtualPath() public method

public GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData
requestContext System.Web.Routing.RequestContext
values RouteValueDictionary
return System.Web.Routing.VirtualPathData