public CommitWorker(VersionControlSystem vc, string[] paths, string message, StatusView view)
 {
     this.vc = vc;
     this.paths = paths;
     this.message = message;
     this.view = view;
 }
 public Worker(VersionControlSystem vc, string filepath, bool remoteStatus, StatusView view)
 {
     this.vc = vc;
     this.filepath = filepath;
     this.view = view;
     this.remoteStatus = remoteStatus;
 }
 public static bool Show(string path, bool test)
 {
     foreach (VersionControlSystem vc in VersionControlService.Providers) {
         if (vc.IsDirectoryStatusAvailable(path)) {
             if (test) return true;
             StatusView d = new StatusView(path, vc);
             MonoDevelop.Gui.WorkbenchSingleton.Workbench.ShowView(d, true);
             return true;
         }
     }
     return false;
 }