Example #1
0
 void AddRepository (BaseRepository repo)
 {
     lock (this.repo_lock) {
         this.repositories.Add (repo);
         this.repositories.Sort ((x, y) => string.Compare (x.Name, y.Name));
     }
 }
 public ProjectInfo (BaseRepository repo)
 {
     this.repo = repo;
 }
Example #3
0
 FileActivityTask MacFileActivityTask(BaseRepository repo, FileSystemEventArgs fse_args)
 {
     return delegate { new Thread (() => { repo.OnFileActivity (fse_args); }).Start (); };
 }
Example #4
0
 void RemoveRepository (BaseRepository repo)
 {
     lock (this.repo_lock)
         this.repositories.Remove (repo);
 }