SaaS CMS has officially launched! Learn more now.

Class UrlResolverContext

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The context that is used during url resolving. Different IUrlResolverPipelineStep instances in the pipeline can update the context depending on UrlResolverOptions.

Inheritance
System.Object
UrlResolverContext
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.Core.Routing.Pipeline.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class UrlResolverContext

Constructors

UrlResolverContext(Uri)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a new context instance

Declaration
public UrlResolverContext(Uri url)
Parameters
Type Name Description
System.Uri url

The url that is being resolved

Properties

ContentLanguage

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The language version for the content that the url has been resolved to or null if not yet resolved

Declaration
public CultureInfo ContentLanguage { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The ContentLink that the url has been resolved to or null if not yet resolved

Declaration
public ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

HostDefinition

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The host that has been resolved from the url or null if not yet resolved

Declaration
public HostDefinition HostDefinition { get; set; }
Property Value
Type Description
HostDefinition

RemainingPath

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The part of the url that have not yet been consumed

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

RequestedLanguage

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The language that was resolved from the url or null if not yet resolved

Declaration
public CultureInfo RequestedLanguage { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

RouteValues

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Custom values that can be used to pass data between different steps in the pipeline.

Declaration
public IDictionary<string, object> RouteValues { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

Url

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The Url that is being resolved

Declaration
public Url Url { get; set; }
Property Value
Type Description
Url

Extension Methods