/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> /// <filterpriority>2</filterpriority> public object Clone() { SkinStyleReference clone = new SkinStyleReference { Skin = Skin, StyleName = StyleName }; return(clone); }
public bool Equals(SkinStyleReference other) { if (ReferenceEquals(null, other)) { return(false); } return(Equals(other.Skin, Skin) && Equals(other.StyleName, StyleName)); }
/// <summary> /// Creates a new object that is a copy of the current instance. /// </summary> /// <returns> /// A new object that is a copy of this instance. /// </returns> /// <filterpriority>2</filterpriority> public object Clone() { SkinStyleReference clone = new SkinStyleReference {Skin = Skin, StyleName = StyleName}; return clone; }
public bool Equals(SkinStyleReference other) { if (ReferenceEquals(null, other)) return false; return Equals(other.Skin, Skin) && Equals(other.StyleName, StyleName); }