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; }
FileActivityTask MacFileActivityTask(BaseRepository repo, FileSystemEventArgs fse_args) { return delegate { new Thread (() => { repo.OnFileActivity (fse_args); }).Start (); }; }
void RemoveRepository (BaseRepository repo) { lock (this.repo_lock) this.repositories.Remove (repo); }