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

            if (accessPointsConfig_ != null)
            {
                hash ^= AccessPointsConfig.GetHashCode();
            }
            if (ServerMsec != 0L)
            {
                hash ^= ServerMsec.GetHashCode();
            }
            if (accessPointsConfigIpv6_ != null)
            {
                hash ^= AccessPointsConfigIpv6.GetHashCode();
            }
            if (accessPointsConfigQUic_ != null)
            {
                hash ^= AccessPointsConfigQUic.GetHashCode();
            }
            if (accessPointsConfigQuicIpv6_ != null)
            {
                hash ^= AccessPointsConfigQuicIpv6.GetHashCode();
            }
            if (FlowCostSampleRate != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FlowCostSampleRate);
            }
            if (CommandSampleRate != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CommandSampleRate);
            }
            if (accessPointsConfigWs_ != null)
            {
                hash ^= AccessPointsConfigWs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (accessPointsConfig_ != null)
            {
                hash ^= AccessPointsConfig.GetHashCode();
            }
            if (ServerMsec != 0L)
            {
                hash ^= ServerMsec.GetHashCode();
            }
            if (accessPointsConfigIpv6_ != null)
            {
                hash ^= AccessPointsConfigIpv6.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }