private void Init(ListView listBox, ArchiveService archiver, FileService fileService) { Window = listBox; ArchiveService = archiver; ArchiveService.OnResponse = RefreshBoth; FileService = fileService; FileService.OnResponse = RefreshBoth; Root = FileService.Root; LastSelectedItems = new string[0]; }
public FileService(FilePathContainer filePathContainer) { Root = filePathContainer; }