|
Smart Localization
2.3
|
A Serializeable Collection containing a list of Smart Culture Infos More...
Public Member Functions | |
| void | RemoveCultureInfo (SmartCultureInfo cultureInfo) |
| Removes a culture info from the collection More... | |
| void | AddCultureInfo (SmartCultureInfo cultureInfo) |
| Adds a culture info to the collection More... | |
| SmartCultureInfo | FindCulture (SmartCultureInfo cultureInfo) |
| Finds a culture info from the list. Compares the englishname and the language code More... | |
| SmartCultureInfo | FindCulture (string languageCode) |
| Finds a culture info from the list by the ISO-639 language code. More... | |
| bool | IsCultureInCollection (SmartCultureInfo cultureInfo) |
| Checks if a specific culture info is in this collection More... | |
Static Public Member Functions | |
| static SmartCultureInfoCollection | Deserialize (TextAsset xmlFile) |
| Deserializes and creates a SmartCultureInfoCollection from a text asset. More... | |
Public Attributes | |
| const int | LatestVersion = 4 |
| int | version = 0 |
| List< SmartCultureInfo > | cultureInfos = new List<SmartCultureInfo>() |
A Serializeable Collection containing a list of Smart Culture Infos
| void SmartLocalization.SmartCultureInfoCollection.AddCultureInfo | ( | SmartCultureInfo | cultureInfo | ) |
Adds a culture info to the collection
| cultureInfo | The culture info to add |
|
static |
Deserializes and creates a SmartCultureInfoCollection from a text asset.
| xmlFile | The textasset containing the serialized xml data |
| SmartCultureInfo SmartLocalization.SmartCultureInfoCollection.FindCulture | ( | SmartCultureInfo | cultureInfo | ) |
Finds a culture info from the list. Compares the englishname and the language code
| cultureInfo | The culture info to find |
| SmartCultureInfo SmartLocalization.SmartCultureInfoCollection.FindCulture | ( | string | languageCode | ) |
Finds a culture info from the list by the ISO-639 language code.
| languageCode | The ISO-639 language code |
| bool SmartLocalization.SmartCultureInfoCollection.IsCultureInCollection | ( | SmartCultureInfo | cultureInfo | ) |
Checks if a specific culture info is in this collection
| cultureInfo | The culture info to check |
| void SmartLocalization.SmartCultureInfoCollection.RemoveCultureInfo | ( | SmartCultureInfo | cultureInfo | ) |
Removes a culture info from the collection
| cultureInfo | The reference to the culture info to remove |