コード例 #1
0
 public NmsTransactionInfo(NmsSessionId sessionId, NmsTransactionId transactionId)
 {
     this.SessionId = sessionId ?? throw new ArgumentNullException(nameof(sessionId), "Session ID cannot be null");
     this.Id        = transactionId ?? throw new ArgumentNullException(nameof(transactionId), "Transaction ID cannot be null");
 }
コード例 #2
0
 public NmsProducerId(NmsSessionId sessionId, long producerId)
 {
     this.SessionId = sessionId ?? throw new ArgumentNullException(nameof(sessionId), "Session ID cannot be null");
     this.Value     = producerId;
 }
コード例 #3
0
 protected bool Equals(NmsSessionId other)
 {
     return(Equals(ConnectionId, other.ConnectionId) && Value == other.Value);
 }