Example #1
0
 /// <summary>
 /// Constructs a new Item instance based on the data of this object.
 /// </summary>
 /// <returns></returns>
 public Item ToItem()
 {
     return(new Item {
         Name = Name, Price = Price, Type = ItemTools.FromString(Type), NormalizedImageName = ImageName, Count = Count, Logs = new List <ItemLog>()
     });
 }