Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class LanguageData

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Default implementation of ILocalizable

Inheritance
System.Object
LanguageData
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.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class LanguageData : ILocalizable, ILocale, IReadOnly<LanguageData>, IReadOnly, IModifiedTrackable

Constructors

LanguageData()

Declaration
public LanguageData()

Properties

ExistingLanguages

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the existing languages.

Declaration
public IEnumerable<CultureInfo> ExistingLanguages { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Globalization.CultureInfo>

The languages.

IsModified

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value indicating whether this instance has been modified after loading.

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

true if this instance has been modified; otherwise, false.

IsReadOnly

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets a value indicating whether this instance is read only.

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

true if this instance is read only; otherwise, false.

Language

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the language for this instance.

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

The language.

MasterLanguage

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets or sets the master language for this instance.

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

The master language.

Methods

CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a writable clone.

Declaration
public LanguageData CreateWritableClone()
Returns
Type Description
LanguageData

MakeReadOnly()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Makes the read only.

Declaration
public void MakeReadOnly()

ResetModified()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resets the modified flag on all the data contained on the instance.

Declaration
public void ResetModified()

ThrowIfReadOnly()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Utility method that, when called, throws a System.NotSupportedException indicating that the LanguageData has been set as read-only.

Declaration
protected void ThrowIfReadOnly()

Explicit Interface Implementations

IReadOnly.CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Creates a writable clone.

Declaration
object IReadOnly.CreateWritableClone()
Returns
Type Description
System.Object

Implements

Extension Methods