Class LanguageData
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Default implementation of ILocalizable
Inheritance
Inherited Members
Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
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 |
|
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 |
|
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 |