Octgn.DataNew.Entities.CardPropertySet.Clone C# (CSharp) Method

Clone() public method

public Clone ( ) : object
return object
        public object Clone()
        {
            var ret = new CardPropertySet()
                          {
                              Type = this.Type.Clone() as string,
                              Size = this.Size.Clone() as CardSize,
                              Properties =
                                  this.Properties.ToDictionary(
                                      x => x.Key.Clone() as PropertyDef, x => x.Value)
                          };
            return ret;
        }
CardPropertySet