Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClientID.Length != 0)
            {
                hash ^= ClientID.GetHashCode();
            }
            if (AppVersion.Length != 0)
            {
                hash ^= AppVersion.GetHashCode();
            }
            if (Language.Length != 0)
            {
                hash ^= Language.GetHashCode();
            }
            if (Channel.Length != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (LighthouseId.Length != 0)
            {
                hash ^= LighthouseId.GetHashCode();
            }
            if (From != global::gen.msg.EntryPointFromType.Cdn)
            {
                hash ^= From.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LighthouseId.Length != 0)
            {
                hash ^= LighthouseId.GetHashCode();
            }
            if (ForceUpdate != false)
            {
                hash ^= ForceUpdate.GetHashCode();
            }
            if (resourceDetail_ != null)
            {
                hash ^= ResourceDetail.GetHashCode();
            }
            if (Maintenance != false)
            {
                hash ^= Maintenance.GetHashCode();
            }
            if (RedirectURL.Length != 0)
            {
                hash ^= RedirectURL.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }