コード例 #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;
 }
コード例 #2
0
 /// <summary>
 /// Resets this instance.
 /// </summary>
 /// <returns>Item.</returns>
 public Item Reset()
 {
     this.Category    = null;
     this.ItemContent = null;
     return(this);
 }