Represents a Language.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax[DataContract(IsReference = true)]
public class Language : EntityBase, ILanguage, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source Language(String, String)
Initializes a new instance of the Language class.
Declarationpublic Language(string isoCode, string cultureName)
Parameters Type Name Description System.String isoCode
The ISO code of the language.
System.String cultureNameThe name of the language.
Properties View Source CultureInfoGets the CultureInfo object for the language.
Declaration[IgnoreDataMember]
public CultureInfo CultureInfo { get; }
Property Value Type Description System.Globalization.CultureInfo View Source CultureName
Gets or sets the culture name of the language.
Declaration[DataMember]
public string CultureName { get; set; }
Property Value Type Description System.String View Source FallbackIsoCode
Gets or sets the ISO code of a fallback language.
Declarationpublic string FallbackIsoCode { get; set; }
Property Value Type Description System.String View Source IsDefault
Gets or sets a value indicating whether the language is the default language.
Declarationpublic bool IsDefault { get; set; }
Property Value Type Description System.Boolean View Source IsMandatory
Gets or sets a value indicating whether the language is mandatory.
Declarationpublic bool IsMandatory { get; set; }
Property Value Type Description System.Boolean Remarks View Source IsoCode
Gets or sets the ISO code of the language.
Declaration[DataMember]
public string IsoCode { get; set; }
Property Value Type Description System.String
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4