public bool UpgradeSoftware(GitUtilCommnad command)
        {
            //Task T = new Task(new Action(RunDistribute(order: order))).ContinueWith(OnDistributeFinished);
            mGitUtilCommand = command;

            distributeWorker = new DistributeManager(mGitUtilCommand);
            distributeWorker.eventFileZipped += BeginOnFileZipped;


            return(true);
        }
 public DistributeManager(GitUtilCommnad command)
 {
     mGitUtilCommand = command;
     var result = CreateZipArchive();
 }
Esempio n. 3
0
 public SendZipFile(ZipFileCreated zipFile, GitUtilCommnad gitUtilCommand)
 {
     this.mGitutilCommand = gitUtilCommand;
     this.mZipFileCreated = zipFile;
     SendAsync();
 }