/// <summary> /// Initialize asynchronously an instance of the Language class /// </summary> /// <returns>Instance of Language</returns> public static Task<Language> CreateAsync() { var ret = new Language(); return ret.InitializeAsync(); }
/// <summary> /// Load asynchronously the languages of the application for the current instance /// </summary> /// <returns>Instance of SettingsViewModel</returns> private async Task InitializeAsync() { Language = new Language(_languageService); await Language.LoadLanguages(); }