SaaS CMS has officially launched! Learn more now.

Class UrlSegmentContext

SegmentContext implementation used to route from an url.

Inheritance
System.Object
UrlSegmentContext
Namespace: EPiServer.Web.Routing.Segments
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class UrlSegmentContext : SegmentContext

Constructors

UrlSegmentContext(UrlBuilder)

Initializes a new instance of the UrlSegmentContext class.

Declaration
public UrlSegmentContext(UrlBuilder urlBuilder)
Parameters
Type Name Description
UrlBuilder urlBuilder

The URL builder.

Properties

QueryString

Gets the query string for the route.

Declaration
public override NameValueCollection QueryString { get; }
Property Value
Type Description
System.Collections.Specialized.NameValueCollection

The query string.

Overrides

Methods

Copy()

Copies this instance.

Declaration
public override SegmentContext Copy()
Returns
Type Description
SegmentContext
Overrides

Extension Methods