Public Member Functions | |
| LanguageFile () | |
| Class constructor that inits all nesessary stuff. | |
| LanguageFile (string Language_File) | |
| Class constructor that inits all nesessary stuff and opens a language file. | |
| void | LoadFromFile (string Language_File) |
| Loads a language file. | |
| string | GetValue (string ID, string Category, string Default) |
| Returns an value of a language entry. | |
| string | GetValue (string ID, string Category) |
| Returns an value of a language entry. | |
| string | GetValue (string ID) |
| Returns an value of a language entry that has no category. | |
Properties | |
| string | Author |
| Returns the name of the author. | |
| string | |
| Returns the author's email. | |
| string | Homepage |
| Returns the author's homepage url. | |
| string | OriginalCaption |
| Returns the original caption of this language. | |
| string | EnglishCaption |
| Returns the english caption of this language. | |
Class that contains routines to handle language files in XML format
Definition at line 51 of file clsLanguageFile.cs.
|
|
Class constructor that inits all nesessary stuff.
// Code example CSharp_ClassLib.Classes.LanguageFile m_oLanguageFile = new CSharp_ClassLib.Classes.LanguageFile(); Definition at line 110 of file clsLanguageFile.cs. |
|
|
Class constructor that inits all nesessary stuff and opens a language file.
// Code example CSharp_ClassLib.Classes.LanguageFile m_oLanguageFile = new CSharp_ClassLib.Classes.LanguageFile("C:\\german.lang.xml");
Definition at line 132 of file clsLanguageFile.cs. |
|
|
Returns an value of a language entry that has no category.
Definition at line 513 of file clsLanguageFile.cs. |
|
||||||||||||
|
Returns an value of a language entry.
Definition at line 500 of file clsLanguageFile.cs. |
|
||||||||||||||||
|
Returns an value of a language entry.
Definition at line 475 of file clsLanguageFile.cs. |
|
|
Loads a language file.
// Code example m_oLanguageFile.LoadFromFile("C:\\english.lang.xml");
Definition at line 285 of file clsLanguageFile.cs. |
|
|
Returns the name of the author.
// Code example Console.WriteLine("This language file was created by: " + m_oLanguageFile.Author); Definition at line 155 of file clsLanguageFile.cs. |
|
|
Returns the author's email.
// Code example Console.WriteLine("The author of this language file has the following email: " + m_oLanguageFile.Email); Definition at line 171 of file clsLanguageFile.cs. |
|
|
Returns the english caption of this language.
// Code example Console.WriteLine("This language is originally called " + m_oLanguageFile.OriginalCaption + " in English."); Definition at line 219 of file clsLanguageFile.cs. |
|
|
Returns the author's homepage url.
// Code example Console.WriteLine("You can visit the author of this language file at: " + m_oLanguageFile.Homepage); Definition at line 187 of file clsLanguageFile.cs. |
|
|
Returns the original caption of this language.
// Code example Console.WriteLine("This language is originally called: " + m_oLanguageFile.OriginalCaption); Definition at line 203 of file clsLanguageFile.cs. |
1.4.1