Language Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class Language : IComparable, IObjectWithId, ICloneable
The Language type exposes the following members.
Name | Description | |
---|---|---|
![]() | Culture |
.Net culture name, for instance en-US.
The culture is assigned as UI culture (Thread.CurrentThread.CurrentUICulture) when a user authenticates.
|
![]() | Default |
English is always the default.
|
![]() | Disabled |
Is the language enabled?
|
![]() | DisplayName |
Name of the language in that language. E.g.: English, Dansk, Deutsch.
|
![]() | Id |
Internal ID.
|
![]() | LangCode |
Unique LangCode for the language.
BCP-47 Language tag.
https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.name(v=vs.110).aspx
|
![]() | Name |
Name of the language in english. E.g.: English, Danish, German.
|
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | CompareTo |
Compares id, name, culture, default and disabled.
|
![]() | ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithId.GetId |
Implementing ObjectWithId interface
|