public CommandFactory(string path, bool isRecursive) { _fileWorker = new FileWorker(path, isRecursive); }
internal FileCommand(FileWorker fileWorker, IFileExecutable <T> executable, IResulter?resulter = null) { _fileWorker = fileWorker; _executable = executable; _resulter = resulter; }
public static ICommand CreateFileCommand <T>(FileWorker fileWorker, IFileExecutable <T> executable, IResulter?resulter) { return(new FileCommand <T>(fileWorker, executable, resulter)); }