Exemple #1
0
 public static async ValueTask <SourceString> GetSourceStringAsync(string strSource, int intPage, string strLanguage = "",
                                                                   CultureInfo objCultureInfo = null, Character objCharacter = null)
 {
     if (string.IsNullOrEmpty(strLanguage))
     {
         strLanguage = GlobalSettings.Language;
     }
     return(new SourceString(await CommonFunctions.LanguageBookShortAsync(strSource, strLanguage, objCharacter),
                             await CommonFunctions.LanguageBookLongAsync(strSource, strLanguage, objCharacter), intPage,
                             strLanguage, objCultureInfo));
 }