public SccCategorySettings(AnkhSccSettingStorage store, string id) { if (store == null) throw new ArgumentNullException("store"); else if (string.IsNullOrEmpty(id)) throw new ArgumentNullException("id"); _store = store; _id = id; store.AddCategory(this); }
public SccProjectSettings(AnkhSccSettingStorage store, string slnProjectName, string id) { if (store == null) throw new ArgumentNullException("store"); else if (string.IsNullOrEmpty(slnProjectName)) throw new ArgumentNullException("slnProjectName"); else if (string.IsNullOrEmpty(id)) throw new ArgumentNullException("id"); _store = store; _projectId = id; SolutionProjectReference = slnProjectName; ActualProjectReference = slnProjectName; // Good default }