예제 #1
0
        public string CreateCategory(string name)
        {
            string id = ToString(Guid.NewGuid());

            SccCategorySettings st = new SccCategorySettings(this, id);

            if(name != null)
                st.Name = name;

            return st.CategoryId;
        }
예제 #2
0
 internal void AddCategory(SccCategorySettings category)
 {
     _categories[category.CategoryId] = category;
 }