November Happy Hour will be moved to Thursday December 5th.

Class NullLanguageSelector

A language selector that will simply set selected language to the requested content language.

Inheritance
System.Object
NullLanguageSelector
Implements
System.Collections.Generic.IEnumerable<LoaderOption>
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class NullLanguageSelector : LanguageSelector, IEnumerable<LoaderOption>, IEnumerable, IXmlSerializable, ILanguageSelector
Remarks

No checks of any kind will be performed by this language selector imlpementation. If may very well indicate a language that does not exist for the current page.

The purpose of this selector implementation is to speed up the language selection process when retrieving pages without the need for proper language information. Typically when iterating thru the page tree and finding the parents of a page.

Constructors

NullLanguageSelector()

Declaration
public NullLanguageSelector()

Properties

Instance

Gets an instance of the NullLanguageSelector.

Declaration
public static LanguageSelector Instance { get; }
Property Value
Type Description
LanguageSelector

The instance.

Remarks

This class is immutable and to remove the need for creating multiple instances, simply reuse the instance returned by this property.

Implements

System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable

Extension Methods