public Repository AddRepository(string repositoryKey, string language) { Repository repo = this.FindRepository(repositoryKey, language); Assert.IsNull(repo, "A repository already exists. Key: {0}, language: {1}", repositoryKey, language); repo = new Repository(repositoryKey, language); this.repos.Add(repo); return repo; }
public Repository AddRepository(string repositoryKey, string language) { Repository repo = new Repository(repositoryKey, language); this.repos.Add(repo); return repo; }