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(); }
public SendZipFile(ZipFileCreated zipFile, GitUtilCommnad gitUtilCommand) { this.mGitutilCommand = gitUtilCommand; this.mZipFileCreated = zipFile; SendAsync(); }