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