public List <RecentProjectViewModel> CreateProjectViewModels() { var result = _applicationSettingsService.GetRecentProjectStringCollection(); return(result.Select(s => new RecentProjectViewModel($"{Path.GetFileNameWithoutExtension(s)} ({Path.GetDirectoryName(s)})", s)) .ToList()); }
public async void LoadDefaultProject() { var projectPath = _applicationSettingsService.GetRecentProjectStringCollection().FirstOrDefault(); if (projectPath != null) { await LoadProject(projectPath); } }