SaaS CMS has officially launched! Learn more now.

Class HostDefinition

Contains information about a host such as host name and a potential language mapping for the host name.

Inheritance
System.Object
HostDefinition
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
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class HostDefinition

Constructors

HostDefinition()

Declaration
public HostDefinition()

Properties

Language

The language mapped to the host.

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

If there is no language mapped for the host it returns null.

Name

The name of the host.

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

Extension Methods