Try our conversational search powered by Generative AI!

Class ContentRouteData

Holds information of IContent and routing context (route language, remaining path, ...) after the uri is routed

Inheritance
System.Object
ContentRouteData
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.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ContentRouteData

Constructors

ContentRouteData(IContent, String, String)

Declaration
public ContentRouteData(IContent content, string routeLanguage, string remainingPath)
Parameters
Type Name Description
IContent content
System.String routeLanguage
System.String remainingPath

Properties

Content

The routed content

Declaration
public IContent Content { get; }
Property Value
Type Description
IContent

RemainingPath

The remaining URL that is yet to be resolved

Declaration
public string RemainingPath { get; }
Property Value
Type Description
System.String

RouteLanguage

The language branch of routed uri

Declaration
public string RouteLanguage { get; }
Property Value
Type Description
System.String

Extension Methods