Exemplo n.º 1
0
        public virtual bool Equals(ConsumerId that)
        {
            if (!Equals(this.ConnectionId, that.ConnectionId))
            {
                return(false);
            }
            if (!Equals(this.SessionId, that.SessionId))
            {
                return(false);
            }
            if (!Equals(this.Value, that.Value))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 2
0
 public SessionId(ConsumerId consumerId)
 {
     this.ConnectionId = consumerId.ConnectionId;
     this.value        = consumerId.SessionId;
 }
Exemplo n.º 3
0
 public ConnectionId(ConsumerId consumerId)
 {
     this.value = consumerId.ConnectionId;
 }