Octgn.DataNew.Entities.CardPropertySet.Clone C# (CSharp) Метод

Clone() публичный Метод

public Clone ( ) : object
Результат 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