public FileSystemNodeSearch(SearchSettings settings, CancellationToken ct) { Settings = settings; this.ct = ct; }
public static FileSystemNodeSearch CreateFromParentSearchJob(FileSystemNodeSearch parentDirSearch, DirectoryInfo dirToSearch) { var settings = new SearchSettings(parentDirSearch.Settings.Target, dirToSearch, true); return(new FileSystemNodeSearch(settings, parentDirSearch.NodeFound, parentDirSearch.ExceptionRise, parentDirSearch.ct)); }