/// <summary> /// async initializes several properties /// </summary> public async Task InitializeProgramAsync() { _log.Called(); try { NameList = new List <string>(); UiControls = new UiPropertiesModel(); SearchPhrase = _config.GetSearchPhrase(); FilePath = _config.GetFilePath(); NameList = await _buttonService.ExecuteUploadButtonAsync(FilePath, true); //need to be loaded before PhraseNo, after FilePath PhraseNo = _config.GetPhraseNo(); } catch (Exception e) { _log.Error(e.Message); } }