Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (deleteTime_ != null)
            {
                hash ^= DeleteTime.GetHashCode();
            }
            if (currentOperation_ != null)
            {
                hash ^= CurrentOperation.GetHashCode();
            }
            if (DisplayName.Length != 0)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (ServeNodes != 0)
            {
                hash ^= ServeNodes.GetHashCode();
            }
            if (DefaultStorageType != global::Google.Bigtable.Admin.Cluster.V1.StorageType.STORAGE_UNSPECIFIED)
            {
                hash ^= DefaultStorageType.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (currentOperation_ != null)
            {
                hash ^= CurrentOperation.GetHashCode();
            }
            hash ^= ColumnFamilies.GetHashCode();
            if (Granularity != global::Google.Bigtable.Admin.Table.V1.Table.Types.TimestampGranularity.MILLIS)
            {
                hash ^= Granularity.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 3
0
        public override int GetHashCode()
        {
            var sum = Color.GetHashCode() + CurrentOperation.GetHashCode() + EditorStatus.GetHashCode();

            return(sum.GetHashCode());
        }