public FileRemover(IFolderNavigator navigator, IDirectory directory) { _directoryViewer = new DirectoryViewer(navigator); _directory = directory; }
public DirectoryViewer(IFolderNavigator folderNavigator) { _navigator = folderNavigator; _navigator.FileVisited += NavigatorFileVisited; _navigator.FolderVisited += NavigatorFolderVisited; }