示例#1
0
 public ItemCategoryCount BuildCount()
 {
     ItemCategoryCount count = new ItemCategoryCount(_name, _id, 0);
     return count;
 }
示例#2
0
 public ItemNodeModel(ItemCategoryCount itemCategory, bool hasChildren = false)
     : this(itemCategory.Name, itemCategory.ItemCategoryId, hasChildren)
 {
     if (itemCategory == null) throw new ArgumentNullException("itemCategory");
 }