示例#1
0
        public bool TryRemovePendingReply(string id, out TransactionReplyHelper replyHelper)
        {
            var rValue = pendingReplies.TryGetValue(id, out replyHelper);

            if (rValue)
            {
                pendingReplies.Remove(id);
            }

            return(rValue);
        }
示例#2
0
 public void AddPendingReply(string id, TransactionReplyHelper replyHelper)
 {
     pendingReplies.Add(id, replyHelper);
 }