コード例 #1
0
 public bool Equals(ConsoleProfile other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return false;
     }
     if (object.ReferenceEquals(this, other))
     {
         return true;
     }
     if (base.GetType() != other.GetType())
     {
         return false;
     }
     return ((this.OfflineXuid == other.OfflineXuid) && (base.Gamertag == other.Gamertag));
 }
コード例 #2
0
 public bool Equals(ConsoleProfile other)
 {
     if (object.ReferenceEquals(other, null))
     {
         return(false);
     }
     if (object.ReferenceEquals(this, other))
     {
         return(true);
     }
     if (base.GetType() != other.GetType())
     {
         return(false);
     }
     return((this.OfflineXuid == other.OfflineXuid) && (base.Gamertag == other.Gamertag));
 }