Class RoutingConstants

String constants used by the routing system in EPiServer.Web.Routing namespace.

Inheritance
System.Object
RoutingConstants
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public static class RoutingConstants

Fields

ActionKey

Key in RequestContext.RouteData that gets action name if set

Declaration
public static readonly string ActionKey
Field Value
Type Description
System.String

CmsControllerKey

Key that can be set when linking to another cms based controller.

Declaration
public static readonly string CmsControllerKey
Field Value
Type Description
System.String

ContextModeKey

Key used to distinguish current context mode

Declaration
public static readonly string ContextModeKey
Field Value
Type Description
System.String

ControllerKey

Key in RequestContext.RouteData that gets controller name if set

Declaration
public static readonly string ControllerKey
Field Value
Type Description
System.String

ControllerTypeKey

Key in RequestContext.RouteData that gets controller type if set

Declaration
public static readonly string ControllerTypeKey
Field Value
Type Description
System.String

CurrentContentKey

Key used to distinguish the current content for partial requests

Declaration
public static readonly string CurrentContentKey
Field Value
Type Description
System.String

DefaultLanguageKey

Key used to distinguish default language

Declaration
public static readonly string DefaultLanguageKey
Field Value
Type Description
System.String

DownloadSegment

The default segmnent used for download of media

Declaration
public static readonly string DownloadSegment
Field Value
Type Description
System.String

ForceAbsoluteKey

Key in RequestContext.RouteData that can be set during construction of outgoing urls to force the use of absolute URL.

Declaration
public static readonly string ForceAbsoluteKey
Field Value
Type Description
System.String

ForceCanonicalKey

Key in RequestContext.RouteData that can be set during construction of outgoing urls to force the use of canonical host URLs.

Declaration
public static readonly string ForceCanonicalKey
Field Value
Type Description
System.String

GuidKey

Key used to distinguish a guid key

Declaration
public static readonly string GuidKey
Field Value
Type Description
System.String

HandledRouteDataKey

Key in Context.Items that gets the RouteData if the context has been handled by page route

Declaration
public static readonly string HandledRouteDataKey
Field Value
Type Description
System.String

HostKey

Key that can be set during construction of outgoing urls to set host for absoulte paths.

Declaration
public static readonly string HostKey
Field Value
Type Description
System.String

IgnorePartialRoutingKey

Key used to distinguish ignorance of partial routing

Declaration
public static readonly string IgnorePartialRoutingKey
Field Value
Type Description
System.String

LanguageKey

Key used in routing to specify the language for the request.

Declaration
public static readonly string LanguageKey
Field Value
Type Description
System.String

LanguageQueryParameter

query parameter in internal links to determine language, written as 'epslanguage'

Declaration
public static readonly string LanguageQueryParameter
Field Value
Type Description
System.String

MediaNodeEditKey

Key used to distinguish an edit node for media

Declaration
public static readonly string MediaNodeEditKey
Field Value
Type Description
System.String

NodeEditKey

Key used to distinguish an edit node

Declaration
public static readonly string NodeEditKey
Field Value
Type Description
System.String

NodeKey

Key in RequestContext.RouteData that gets structure node if set

Declaration
public static readonly string NodeKey
Field Value
Type Description
System.String

OriginalNodeKey

Key in RequestContext.RouteData that gets node which has been replace by partial segment

Declaration
public static readonly string OriginalNodeKey
Field Value
Type Description
System.String

ParentActionViewContext

Key used to distinguish parent context

Declaration
public static readonly string ParentActionViewContext
Field Value
Type Description
System.String

PartialKey

Key used to distinguish a partial context

Declaration
public static readonly string PartialKey
Field Value
Type Description
System.String

RemainingPathParameter

query parameter in internal links to determine remaining path (like action and parameter), written as 'epsremainingpath'

Declaration
public static readonly string RemainingPathParameter
Field Value
Type Description
System.String

RootPath

Key in RequestContext.RouteData that gets the root path of the routed virtual path. This can be relative or absolute.

Declaration
public static readonly string RootPath
Field Value
Type Description
System.String

RoutedDataKey

Key in RequestContext.RouteData that gets the routed data if it has been routed.

Declaration
public static readonly string RoutedDataKey
Field Value
Type Description
System.String

SimpleAddressKey

Key used to distinguish simple address

Declaration
public static readonly string SimpleAddressKey
Field Value
Type Description
System.String

SimpleAddressLanguageKey

Key used to distinguish simple address language

Declaration
public static readonly string SimpleAddressLanguageKey
Field Value
Type Description
System.String

Properties

RoutedQueryParameters

Contains a list of query parameters that are passed on to routing.

Declaration
public static IEnumerable<string> RoutedQueryParameters { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>