예제 #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.contentType)
            {
                hashcode = (hashcode * 397) + ContentType.GetHashCode();
            }
            if (__isset.text)
            {
                hashcode = (hashcode * 397) + Text.GetHashCode();
            }
            if (__isset.location)
            {
                hashcode = (hashcode * 397) + Location.GetHashCode();
            }
            if (__isset.content)
            {
                hashcode = (hashcode * 397) + Content.GetHashCode();
            }
            if (__isset.contentMetadata)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(ContentMetadata);
            }
        }
        return(hashcode);
    }
예제 #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.online)
            {
                hashcode = (hashcode * 397) + Online.GetHashCode();
            }
            if (__isset.chatMid)
            {
                hashcode = (hashcode * 397) + ChatMid.GetHashCode();
            }
            if (__isset.hostMids)
            {
                hashcode = (hashcode * 397) + HostMids.GetHashCode();
            }
            if (__isset.memberMids)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(MemberMids);
            }
            if (__isset.started)
            {
                hashcode = (hashcode * 397) + Started.GetHashCode();
            }
            if (__isset.mediaType)
            {
                hashcode = (hashcode * 397) + MediaType.GetHashCode();
            }
        }
        return(hashcode);
    }
예제 #3
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.host_name)
                {
                    hashcode = (hashcode * 397) + Host_name.GetHashCode();
                }
                if (isset.page_size)
                {
                    hashcode = (hashcode * 397) + Page_size.GetHashCode();
                }
                if (isset.max_num_pages)
                {
                    hashcode = (hashcode * 397) + Max_num_pages.GetHashCode();
                }
                if (isset.num_pages_allocated)
                {
                    hashcode = (hashcode * 397) + Num_pages_allocated.GetHashCode();
                }
                if (isset.is_allocation_capped)
                {
                    hashcode = (hashcode * 397) + Is_allocation_capped.GetHashCode();
                }
                if (isset.node_memory_data)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Node_memory_data);
                }
            }
            return(hashcode);
        }
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.layout)
                {
                    hashcode = (hashcode * 397) + Layout.GetHashCode();
                }
                if (isset.keyless)
                {
                    hashcode = (hashcode * 397) + Keyless.GetHashCode();
                }
                if (isset.entry_count)
                {
                    hashcode = (hashcode * 397) + Entry_count.GetHashCode();
                }
                if (isset.idx_target_as_key)
                {
                    hashcode = (hashcode * 397) + Idx_target_as_key.GetHashCode();
                }
                if (isset.min_val)
                {
                    hashcode = (hashcode * 397) + Min_val.GetHashCode();
                }
                if (isset.max_val)
                {
                    hashcode = (hashcode * 397) + Max_val.GetHashCode();
                }
                if (isset.bucket)
                {
                    hashcode = (hashcode * 397) + Bucket.GetHashCode();
                }
                if (isset.group_col_widths)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Group_col_widths);
                }
                if (isset.key_bytewidth)
                {
                    hashcode = (hashcode * 397) + Key_bytewidth.GetHashCode();
                }
                if (isset.col_slot_context)
                {
                    hashcode = (hashcode * 397) + Col_slot_context.GetHashCode();
                }
                if (isset.target_groupby_indices)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Target_groupby_indices);
                }
                if (isset.count_distinct_descriptors)
                {
                    hashcode = (hashcode * 397) + Count_distinct_descriptors.GetHashCode();
                }
                if (isset.force_4byte_float)
                {
                    hashcode = (hashcode * 397) + Force_4byte_float.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #5
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.channelId)
            {
                hashcode = (hashcode * 397) + ChannelId.GetHashCode();
            }
            if (__isset.shopOrderId)
            {
                hashcode = (hashcode * 397) + ShopOrderId.GetHashCode();
            }
            if (__isset.appStoreCode)
            {
                hashcode = (hashcode * 397) + AppStoreCode.GetHashCode();
            }
            if (__isset.items)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(Items);
            }
            if (__isset.country)
            {
                hashcode = (hashcode * 397) + Country.GetHashCode();
            }
        }
        return(hashcode);
    }
예제 #6
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.pixel)
                {
                    hashcode = (hashcode * 397) + Pixel.GetHashCode();
                }
                if (isset.vega_table_name)
                {
                    hashcode = (hashcode * 397) + Vega_table_name.GetHashCode();
                }
                if (isset.table_id)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Table_id);
                }
                if (isset.row_id)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Row_id);
                }
                if (isset.row_set)
                {
                    hashcode = (hashcode * 397) + Row_set.GetHashCode();
                }
                if (isset.nonce)
                {
                    hashcode = (hashcode * 397) + Nonce.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #7
0
파일: TokenRange.cs 프로젝트: ste93/yarp
        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);
        }
예제 #8
0
파일: ColumnDef.cs 프로젝트: ste93/yarp
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if ((Name != null))
                {
                    hashcode = (hashcode * 397) + Name.GetHashCode();
                }
                if ((Validation_class != null))
                {
                    hashcode = (hashcode * 397) + Validation_class.GetHashCode();
                }
                if (__isset.index_type)
                {
                    hashcode = (hashcode * 397) + Index_type.GetHashCode();
                }
                if ((Index_name != null) && __isset.index_name)
                {
                    hashcode = (hashcode * 397) + Index_name.GetHashCode();
                }
                if ((Index_options != null) && __isset.index_options)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Index_options);
                }
            }
            return(hashcode);
        }
예제 #9
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (__isset.parentID)
                {
                    hashcode = (hashcode * 397) + ParentID.GetHashCode();
                }
                if (__isset.level)
                {
                    hashcode = (hashcode * 397) + Level.GetHashCode();
                }
                if (__isset.children)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Children);
                }
                if (__isset.smallset)
                {
                    hashcode = (hashcode * 397) + Smallset.GetHashCode();
                }
                if (__isset.splitinfo)
                {
                    hashcode = (hashcode * 397) + Splitinfo.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #10
0
파일: KsDef.cs 프로젝트: ste93/yarp
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if ((Name != null))
                {
                    hashcode = (hashcode * 397) + Name.GetHashCode();
                }
                if ((Strategy_class != null))
                {
                    hashcode = (hashcode * 397) + Strategy_class.GetHashCode();
                }
                if ((Strategy_options != null) && __isset.strategy_options)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Strategy_options);
                }
                if (__isset.replication_factor)
                {
                    hashcode = (hashcode * 397) + Replication_factor.GetHashCode();
                }
                if ((Cf_defs != null))
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Cf_defs);
                }
                if (__isset.durable_writes)
                {
                    hashcode = (hashcode * 397) + Durable_writes.GetHashCode();
                }
            }
            return(hashcode);
        }
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + SessionId.GetHashCode();
                hashcode = (hashcode * 397) + Path.GetHashCode();
                hashcode = (hashcode * 397) + DataType.GetHashCode();
                hashcode = (hashcode * 397) + Encoding.GetHashCode();
                hashcode = (hashcode * 397) + Compressor.GetHashCode();
                if (__isset.props)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Props);
                }
                if (__isset.tags)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Tags);
                }
                if (__isset.attributes)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Attributes);
                }
                if (__isset.measurementAlias)
                {
                    hashcode = (hashcode * 397) + MeasurementAlias.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #12
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(NameToTypePtr);
            }
            return(hashcode);
        }