Esempio n. 1
0
 public bool Equals(IReplacementRule other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Pattern, Pattern) && Equals(other.Replacement, Replacement));
 }
 public bool Equals(IReplacementRule other)
 {
     if (ReferenceEquals(null, other))
     {
         return false;
     }
     if (ReferenceEquals(this, other))
     {
         return true;
     }
     return Equals(other.Pattern, Pattern) && Equals(other.Replacement, Replacement);
 }