Esempio n. 1
0
 public bool Equals(UserWrapper?other)
 {
     if (other is null)
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     if (GetType() != other.GetType())
     {
         return(false);
     }
     if (ReferenceEquals(_user, other._user))
     {
         return(true);
     }
     return(_user.Equals(other._user));
 }