Class NullLanguageSelector
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A language selector that will simply set selected language to the requested content language.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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.