AppStringContainer Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class AppStringContainer : ICloneable
The AppStringContainer type exposes the following members.
Name | Description | |
---|---|---|
![]() | AppStringContainer | |
![]() | AppStringContainer(String) |
Constructs the object with a comma (,) separated string. Each item must be formatted with languageId:string,
for instance 1000:OK
|
![]() | AppStringContainer(AppString) |
Adds a single language string, for the identity user's language, from the app string.
|
Name | Description | |
---|---|---|
![]() | Count |
Number of languages that the container holds strings for.
|
![]() | LangStrings |
Returns the dictionary of contained strings
|
Name | Description | |
---|---|---|
![]() | AddLanguageString | |
![]() | AssignTo(AppStringContainer) | |
![]() | AssignTo(AppString, Boolean) | |
![]() | AssignTo(AppStringContainer, Boolean) | |
![]() | Clone | |
![]() | GetLanguageString |
Returns the string for a specified language.
If no string exists for the specified language then the string for english is returned.
If the english string doesn't exist either then the first string in the collection is returned.
If the collection is empty then null is returned.
|
![]() | IsDefinedForLanguage | |
![]() | ReadXml | |
![]() | SetLanguageString | |
![]() | ToCSVString | |
![]() | ToSearchXml | |
![]() | ToString |
Returns a human readable string
(Overrides ObjectToString.) |
![]() | ToStringAllLanguages |
Returns a human readable string with all contained languages
|
![]() | WriteXml |
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.) |