示例#1
0
        /// <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);
        }
示例#2
0
 public bool Equals(SkinStyleReference other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     return(Equals(other.Skin, Skin) && Equals(other.StyleName, StyleName));
 }
示例#3
0
 /// <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;
 }
示例#4
0
 public bool Equals(SkinStyleReference other)
 {
     if (ReferenceEquals(null, other)) return false;
     return Equals(other.Skin, Skin) && Equals(other.StyleName, StyleName);
 }