Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int result = 0;

            result = 31 * result + (_discoveredInstances != null ? _discoveredInstances.GetHashCode() : 0);
            result = 31 * result + (_joiningInstances != null ? _joiningInstances.GetHashCode() : 0);
            result = 31 * result + (_joinDeniedConfigurationResponseState != null ? _joinDeniedConfigurationResponseState.GetHashCode() : 0);
            result = 31 * result + (_currentlyJoiningInstances != null ? _currentlyJoiningInstances.GetHashCode() : 0);
            result = 31 * result + (_learnerContext != null ? _learnerContext.GetHashCode() : 0);
            result = 31 * result + (_heartbeatContext != null ? _heartbeatContext.GetHashCode() : 0);
            return(result);
        }