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

            unchecked {
                if ((Start_key != null) && __isset.start_key)
                {
                    hashcode = (hashcode * 397) + Start_key.GetHashCode();
                }
                if ((End_key != null) && __isset.end_key)
                {
                    hashcode = (hashcode * 397) + End_key.GetHashCode();
                }
                if ((Start_token != null) && __isset.start_token)
                {
                    hashcode = (hashcode * 397) + Start_token.GetHashCode();
                }
                if ((End_token != null) && __isset.end_token)
                {
                    hashcode = (hashcode * 397) + End_token.GetHashCode();
                }
                hashcode = (hashcode * 397) + Count.GetHashCode();
            }
            return(hashcode);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if ((Start_token != null))
                {
                    hashcode = (hashcode * 397) + Start_token.GetHashCode();
                }
                if ((End_token != null))
                {
                    hashcode = (hashcode * 397) + End_token.GetHashCode();
                }
                if ((Endpoints != null))
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Endpoints);
                }
                if ((Rpc_endpoints != null) && __isset.rpc_endpoints)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Rpc_endpoints);
                }
                if ((Endpoint_details != null) && __isset.endpoint_details)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Endpoint_details);
                }
            }
            return(hashcode);
        }