static void Status(string patchFile, StatusRepo repo, Action <IStatus> act,
                           RepoStatus action = RepoStatus.Downloading)
        {
            var status = new Status(patchFile, repo)
            {
                Action = action
            };

            act(status);
            status.EndOutput();
        }
 static void Status(string patchFile, StatusRepo repo, Action<IStatus> act,
     RepoStatus action = RepoStatus.Downloading) {
     var status = new Status(patchFile, repo) {Action = action};
     act(status);
     status.EndOutput();
 }
 void InstallOfficialPatch(string patchFile, IAbsoluteDirectoryPath tempPath, StatusRepo repo) {
     using (new TmpDirectory(tempPath))
         Status(patchFile, repo, status => InstallOfficialPatchInternal(patchFile, tempPath, status));
 }
 void InstallOfficialPatch(string patchFile, IAbsoluteDirectoryPath tempPath, StatusRepo repo)
 {
     using (new TmpDirectory(tempPath))
         Status(patchFile, repo, status => InstallOfficialPatchInternal(patchFile, tempPath, status));
 }