public SccCategorySettings(VisualGitSccSettingStorage 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(VisualGitSccSettingStorage 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 }