Click or drag to resize

Language Class

Represents the language of a user for showing labels and caption in the right language.
Inheritance Hierarchy
SystemObject
  Omada.OE.ModelLanguage

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
[SerializableAttribute]
public class Language : IComparable, IObjectWithId, 
	ICloneable

The Language type exposes the following members.

Constructors
  NameDescription
Public methodLanguage
Constructor for the object.
Top
Properties
  NameDescription
Public propertyCulture
.Net culture name, for instance en-US. The culture is assigned as UI culture (Thread.CurrentThread.CurrentUICulture) when a user authenticates.
Public propertyDefault
English is always the default.
Public propertyDisabled
Is the language enabled?
Public propertyDisplayName
Name of the language in that language. E.g.: English, Dansk, Deutsch.
Public propertyId
Internal ID.
Public propertyLangCode
Unique LangCode for the language. BCP-47 Language tag. https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.name(v=vs.110).aspx
Public propertyName
Name of the language in english. E.g.: English, Danish, German.
Top
Methods
  NameDescription
Public methodClone
Public methodCompareTo
Compares id, name, culture, default and disabled.
Public methodToString
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIObjectWithId.GetId
Implementing ObjectWithId interface
Top
See Also