public DirectoryBrowserViewModel(FileIndexViewModel index) { this.Index = index; this.HighlightMissingBackupFiles = false; this.ShowSearchResults = false; searchResults = new ObservableCollection <object>(); }
public CreateReportViewModel(FileIndexViewModel index, List <ArchiveViewModel> exportArchives) { this.index = index; this.IsReportInProgress = false; this.ReportList = new ObservableCollection <ReportObject>(GetReportList()); this.exportArchives = exportArchives.Select(x => x.Archive).ToList(); this.Title = "Create Report for all archives"; if (exportArchives.Count == 1) { this.Title = "Create Report for archive " + exportArchives.FirstOrDefault().Label; SelectedReport = ReportList.FirstOrDefault(x => x.Name == "File List Report"); } }
public ExclusionListViewModel(FileIndexViewModel index) { this.index = index; }
public ArchiveOverviewViewModel(FileIndexViewModel index) { this.Index = index; }