private bool Run(CommandLineArguments args) { if (!args.HasArgument("clone", "true")) { return(false); } var sourcePath = GetPath(args, "source"); var targetPath = GetPath(args, "target"); solutionCloner.CloneSolution(sourcePath, targetPath); return(true); }
private void worker_DoWork(object sender, DoWorkEventArgs e) { solutionCloner.CloneSolution(sourcePathSelector.Path, targetPathSelector.Path); }