public DirectoryProcessor(CommandLineInterpreter interpreter, FileProcessor fileProcessor, IInvokeProcess processInvoker) { _interpreter = interpreter; _processInvoker = processInvoker; _fileProcessor = fileProcessor; }
private static void Main(string[] args) { var interpreter = new CommandLineInterpreter(args); var invoker = new ProcessInvoker(); var fileProcessor = new FileProcessor(invoker); var processor = new DirectoryProcessor(interpreter, fileProcessor, invoker); processor.Process(); }