Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Item" /> class.
 /// </summary>
 /// <param name="category">The category.</param>
 /// <param name="content">The content.</param>
 public Item(Category category, ItemContent content)
 {
     this.Category    = category;
     this.ItemContent = content;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Resets this instance.
 /// </summary>
 /// <returns>Item.</returns>
 public Item Reset()
 {
     this.Category    = null;
     this.ItemContent = null;
     return(this);
 }