Beispiel #1
0
        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);
        }
Beispiel #2
0
        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
        }