|
| OKWDocu () |
| This constructor has no Parameter and uses the default values for the config-file and Actual/default language(=EN) More...
|
|
string | ReadKeyWordName (string KeyWordSymbol) |
| This method gets the Keywordname depending an the Language. More...
|
|
- Author
- Zoltán Hrabovszki
- Date
- 2014.05.28
This constructor has no Parameter and uses the default values for the config-file and Actual/default language(=EN)
This klass is a Singelton. -> Konstuctor is Private! Use Instance to get the Instanc of this Class.
116 if (!System.IO.File.Exists(
this.File_okwdocu_xml))
118 System.Console.WriteLine(
"= End Logmessenger.Logmessenger() with exception!");
119 throw new FileNotFoundException(
"File not found! '" + this.File_okwdocu_xml +
"'");
123 this.MyXPathDocument =
new XPathDocument(this.File_okwdocu_xml);
124 this.MyXPathNavigator = this.MyXPathDocument.CreateNavigator();
string OKW.OKWDocu.GetKWForCurrentLanguage |
( |
string |
KeyWord | ) |
|
Gets the KeyWordName for Language.
- Parameters
-
- Returns
-
157 string lvs_Return = string.Empty;
159 lvs_Return = this.ReadKeyWordName(KeyWord);
string OKW.OKWDocu.ReadKeyWordName |
( |
string |
KeyWordSymbol | ) |
|
|
private |
This method gets the Keywordname depending an the Language.
If the given KeyWordSybol isn´t definden in
- Parameters
-
KeyWordSymbol | SymbolName of Keyword the Message for the given language or default language if given languae does not exist |
- Returns
173 Log.Logger.Instance.LogFunctionStartDebug(this.GetType().FullName +
".ReadKeyWordName",
"KeyWordSymbol", KeyWordSymbol);
175 string lvs_temp =
"!!" + KeyWordSymbol;
177 string lvsXPath =
"//okwentry[@keyword='" + KeyWordSymbol +
"']//keyword/" + this.AL.Language;
179 Log.Logger.Instance.LogPrintDebug(lvsXPath);
181 XPathNodeIterator iter = this.MyXPathNavigator.Select(lvsXPath);
183 while (iter.MoveNext())
185 lvs_temp = iter.Current.Value;
188 Log.Logger.Instance.LogFunctionEndDebug(lvs_temp);
XPathDocument OKW.OKWDocu.MyXPathDocument |
|
private |
- Todo:
TODO: JN: Rranslation
- Author
- Zoltan Hrabovszki
- Date
- 2013_12_09
XPathNavigator OKW.OKWDocu.MyXPathNavigator |
|
private |
Holt die einzige Instanz dieser Klasse.
The instance.
The documentation for this class was generated from the following file: