Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     return(ProviderType.GetHashCode() ^
            CustomDirectory.GetHashCode() ^
            Enabled.GetHashCode() ^
            DefaultSimulator.GetHashCode());
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int result = ProviderType != null?ProviderType.GetHashCode() : 0;

            result = 29 * result + (DataTypeName != null ? DataTypeName.GetHashCode() : 0);
            result = 29 * result + NumericPrecision.GetHashCode();
            result = 29 * result + NumericScale.GetHashCode();
            result = 29 * result + ColumnSize.GetHashCode();
            result = 29 * result + IsLong.GetHashCode();
            return(result);
        }
Ejemplo n.º 3
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = (int)2166136261;
         hash = hash * 16777619 ^ (Culture?.GetHashCode() ?? 17);
         hash = hash * 16777619 ^ (ProviderType.GetHashCode());
         hash = hash * 16777619 ^ RawDataHashCode();
         return(hash);
     }
 }
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = (Trafokreis != null ? Trafokreis.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ProviderType != null ? ProviderType.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)SumType;
         hashCode = (hashCode * 397) ^ (int)GenerationOrLoad;
         hashCode = (hashCode * 397) ^ (HouseName != null ? HouseName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ProfileSource != null ? ProfileSource.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (HouseComponentType != null ? HouseComponentType.GetHashCode() : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 => Name.GetHashCode() ^ EntityType.GetHashCode() ^ ProviderType.GetHashCode();