Пример #1
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 37 * Nombre.GetHashCode();
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CuentaDestino.Length != 0)
            {
                hash ^= CuentaDestino.GetHashCode();
            }
            if (Nombre.Length != 0)
            {
                hash ^= Nombre.GetHashCode();
            }
            if (CodEmail != 0)
            {
                hash ^= CodEmail.GetHashCode();
            }
            if (IdPersona != 0)
            {
                hash ^= IdPersona.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = (hash * 7) + Nombre.GetHashCode();
            hash = (hash * 7) + Edad.GetHashCode();
            return(hash);
        }
Пример #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashNombre   = (Nombre != null ? Nombre.GetHashCode() : 0);
         int hashTelefono = (Telefono != null ? Telefono.GetHashCode() : 0);
         return((hashNombre * 397) ^ (hashTelefono));
     }
 }
Пример #5
0
        public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = (Id != null ? Nombre.GetHashCode() : 0);

                return(hashCode);
            }
        }
Пример #6
0
        public override int GetHashCode()
        {
            //Get hash code for the Name field if it is not null.
            int hashProductName = Nombre == null ? 0 : Nombre.GetHashCode();

            //Get hash code for the Code field.
            int hashProductCode = Id.GetHashCode();

            //Calculate the hash code for the product.
            return(hashProductName ^ hashProductCode);
        }
Пример #7
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Nombre != null)
         {
             hashCode = hashCode * 59 + Nombre.GetHashCode();
         }
         if (Pais != null)
         {
             hashCode = hashCode * 59 + Pais.GetHashCode();
         }
         return(hashCode);
     }
 }
Пример #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Nombre.Length != 0)
            {
                hash ^= Nombre.GetHashCode();
            }
            if (Telefono.Length != 0)
            {
                hash ^= Telefono.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #9
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(Id.GetHashCode() * 17 + Nombre.GetHashCode() + Apellidos.GetHashCode() + Dni.GetHashCode() + Guid.GetHashCode() + FechaNacimiento.GetHashCode());
 }
Пример #10
0
 public override int GetHashCode()
 {
     return(HashCode.Combine(Nombre.GetHashCode(), Apellido.GetHashCode()));
 }
Пример #11
0
 public override int GetHashCode()
 {
     return(Nombre.GetHashCode());
 }
Пример #12
0
 public override int GetHashCode()
 {
     return(Fecha.GetHashCode() + Nombre.GetHashCode());
 }
Пример #13
0
 public override int GetHashCode()
 {
     return Nombre.GetHashCode() + DispositivoTipo.GetHashCode();
 }
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(Id.GetHashCode() * 17 + Nombre.GetHashCode() + Apellidos.GetHashCode() + Dni.GetHashCode() + GUID.GetHashCode());
 }