Class ClassicLinkRoute
A route that can be added to support incoming routing of classic links like for example "/templates/Page.aspx?id=12&epslanguage=sv"
Inheritance
System.Object
    ClassicLinkRoute
  Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class ClassicLinkRoute : RouteConstructors
ClassicLinkRoute()
Initializes a new instance of the ClassicLinkRoute class.
Declaration
public ClassicLinkRoute()ClassicLinkRoute(IRouteHandler, IPermanentLinkMapper, IUpdateCurrentLanguage)
Initializes a new instance of the ClassicLinkRoute class.
Declaration
public ClassicLinkRoute(IRouteHandler routeHandler, IPermanentLinkMapper permanentLinkMapper, IUpdateCurrentLanguage updateCurrentLanguage)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Web.Routing.IRouteHandler | routeHandler | The object that processes requests for the route. | 
| IPermanentLinkMapper | permanentLinkMapper | The permanent link mapper. | 
| IUpdateCurrentLanguage | updateCurrentLanguage | The update current language. | 
Methods
GetRouteData(HttpContextBase)
Returns information about the requested route.
Declaration
public override RouteData GetRouteData(HttpContextBase httpContext)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Web.HttpContextBase | httpContext | An object that encapsulates information about the HTTP request. | 
Returns
| Type | Description | 
|---|---|
| System.Web.Routing.RouteData | An object that contains the values from the route definition. | 
