internal static bool Equals(TextDecoration left, TextDecoration right)
 {
     if (left == null)
     {
         return(right == null);
     }
     return(left.Equals(right));
 }
Exemple #2
0
 public override bool Equals(object o)
 {
     if (o is TextDecorationCollection)
     {
         TextDecorationCollection tdc = (TextDecorationCollection)o;
         return(TextDecoration.Equals(this.Decoration, tdc.Decoration));
     }
     return(false);
 }
Exemple #3
0
 public static bool operator !=(TextDecorationCollection left, TextDecorationCollection right)
 {
     return(!TextDecoration.Equals(left.Decoration, right.Decoration));
 }