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

            unchecked {
                if (__isset.name)
                {
                    hashcode = (hashcode * 397) + Name.GetHashCode();
                }
                if (__isset.maxVersions)
                {
                    hashcode = (hashcode * 397) + MaxVersions.GetHashCode();
                }
                if (__isset.compression)
                {
                    hashcode = (hashcode * 397) + Compression.GetHashCode();
                }
                if (__isset.inMemory)
                {
                    hashcode = (hashcode * 397) + InMemory.GetHashCode();
                }
                if (__isset.bloomFilterType)
                {
                    hashcode = (hashcode * 397) + BloomFilterType.GetHashCode();
                }
                if (__isset.bloomFilterVectorSize)
                {
                    hashcode = (hashcode * 397) + BloomFilterVectorSize.GetHashCode();
                }
                if (__isset.bloomFilterNbHashes)
                {
                    hashcode = (hashcode * 397) + BloomFilterNbHashes.GetHashCode();
                }
                if (__isset.blockCacheEnabled)
                {
                    hashcode = (hashcode * 397) + BlockCacheEnabled.GetHashCode();
                }
                if (__isset.timeToLive)
                {
                    hashcode = (hashcode * 397) + TimeToLive.GetHashCode();
                }
            }
            return(hashcode);
        }