/// <summary> /// Initializes a new instance of the <see cref="Attributes"/> class. /// </summary> /// <param name="size"> /// The size. /// </param> /// <param name="key"> /// The key. /// </param> public Attributes(Size size, Key key) { if (size != null) { Size = (Size)size.Clone(); } if (key != null) { Key = (Key)key.Clone(); } }
/// <summary> /// The clone. /// </summary> /// <returns> /// The <see cref="IBaseObject"/>. /// </returns> public IBaseObject Clone() { var temp = new Key(Fifths, Mode); return temp; }