SaaS CMS has officially launched! Learn more now.

Class SimpleAddressResolveContext

Inheritance
System.Object
SimpleAddressResolveContext
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class SimpleAddressResolveContext : Object

Constructors

SimpleAddressResolveContext()

Declaration
public SimpleAddressResolveContext()

Properties

Language

The language to resolve in.

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

If language is set UseStrictLanguageMatch specifies if language must match

PotentialLanguageSegment

When called from routing this can be used to pass in a potential language segment

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

SiteId

Can be used to limit matches to a single site id

Declaration
public Nullable<Guid> SiteId { get; set; }
Property Value
Type Description
System.Nullable<System.Guid>

UseStrictLanguageMatch

If Language is set this specifies if language must match.

Declaration
public bool UseStrictLanguageMatch { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods