Class LanguageInfo
Inheritance
object
LanguageInfo
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Localization
Assembly: Volo.Abp.Localization.dll
Syntax
public class LanguageInfo : ILanguageInfo
Constructors
LanguageInfo()
Declaration
protected LanguageInfo()
LanguageInfo(string, string, string, string)
Declaration
public LanguageInfo(string cultureName, string uiCultureName = null, string displayName = null, string flagIcon = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | cultureName | |
| string | uiCultureName | |
| string | displayName | |
| string | flagIcon |
Properties
CultureName
Declaration
public virtual string CultureName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Declaration
public virtual string DisplayName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagIcon
Declaration
public virtual string FlagIcon { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TwoLetterISOLanguageName
Declaration
public virtual string TwoLetterISOLanguageName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
UiCultureName
Declaration
public virtual string UiCultureName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ChangeCulture(string, string, string)
Declaration
public virtual void ChangeCulture(string cultureName, string uiCultureName = null, string displayName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | cultureName | |
| string | uiCultureName | |
| string | displayName |