Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 private void worker_DoWork(object sender, DoWorkEventArgs e)
 {
     solutionCloner.CloneSolution(sourcePathSelector.Path, targetPathSelector.Path);
 }