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

            unchecked {
                if (isset.view_name)
                {
                    hashcode = (hashcode * 397) + View_name.GetHashCode();
                }
                if (isset.view_state)
                {
                    hashcode = (hashcode * 397) + View_state.GetHashCode();
                }
                if (isset.image_hash)
                {
                    hashcode = (hashcode * 397) + Image_hash.GetHashCode();
                }
                if (isset.update_time)
                {
                    hashcode = (hashcode * 397) + Update_time.GetHashCode();
                }
                if (isset.view_metadata)
                {
                    hashcode = (hashcode * 397) + View_metadata.GetHashCode();
                }
            }
            return(hashcode);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.dashboard_name)
                {
                    hashcode = (hashcode * 397) + Dashboard_name.GetHashCode();
                }
                if (isset.dashboard_state)
                {
                    hashcode = (hashcode * 397) + Dashboard_state.GetHashCode();
                }
                if (isset.image_hash)
                {
                    hashcode = (hashcode * 397) + Image_hash.GetHashCode();
                }
                if (isset.update_time)
                {
                    hashcode = (hashcode * 397) + Update_time.GetHashCode();
                }
                if (isset.dashboard_metadata)
                {
                    hashcode = (hashcode * 397) + Dashboard_metadata.GetHashCode();
                }
                if (isset.dashboard_id)
                {
                    hashcode = (hashcode * 397) + Dashboard_id.GetHashCode();
                }
                if (isset.dashboard_owner)
                {
                    hashcode = (hashcode * 397) + Dashboard_owner.GetHashCode();
                }
                if (isset.is_dash_shared)
                {
                    hashcode = (hashcode * 397) + Is_dash_shared.GetHashCode();
                }
            }
            return(hashcode);
        }