Example #1
0
 /// <summary>
 /// </summary>
 /// <param name="category">
 /// </param>
 public void AddCategory(Category category)
 {
   category.Parent = this.MainCategory;
   this.MainCategory.AddCategory(category);
 }
Example #2
0
 /// <summary>
 /// </summary>
 /// <param name="mainCategory">
 /// </param>
 public PriceMatrix(Category mainCategory)
 {
   this.MainCategory = mainCategory;
 }
Example #3
0
 /// <summary>
 /// </summary>
 public PriceMatrix()
 {
   this.MainCategory = new Category();
 }
Example #4
0
 /// <summary>
 /// Adds <c>category</c> to list
 /// </summary>
 /// <param name="category">
 /// </param>
 public void AddCategory(Category category)
 {
   category.Parent = this;
   this.Categories.Add(category);
 }