Пример #1
0
 public bool Equals(ChatUser other) {
     if (ReferenceEquals(other, null)) {
         return false;
     }
     if (ReferenceEquals(this, other)) {
         return true;
     }
     if (GetType() != other.GetType()) {
         return false;
     }
     return (Bare == other.Bare);
 }
Пример #2
0
 public bool Equals(ChatUser other)
 {
     if (ReferenceEquals(other, null)) {
         return false;
     }
     if (ReferenceEquals(this, other)) {
         return true;
     }
     if (GetType() != other.GetType()) {
         return false;
     }
     return (Bare == other.Bare);
 }