Esempio n. 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(base.GetHashCode()
                + (Callsign.ToUpper().GetHashCode() * 3)
                + (VID.ToUpper().GetHashCode() * 3)
                + (Name.ToUpper().GetHashCode() * 3)
                + (ClientType.GetHashCode() * 3)
                + (GetItemHashCode(Location) * 3)
                + (Server.ToUpper().GetHashCode() * 3)
                + (Protocol.ToUpper().GetHashCode() * 3)
                + (ConnectionTime.GetHashCode() * 3)
                + (SoftwareName.ToUpper().GetHashCode() * 3)
                + (SoftwareVersion.ToUpper().GetHashCode() * 3)
                + (AdministrativeVersion.GetHashCode() * 3)
                + (ClientRating.GetHashCode() * 3) * 17);
     }
 }