Example #1
0
 public HandlerInfoWrapper(HandlerRecordData handleInfo)
 {
     this.MessageId       = handleInfo.MessageId;
     this.HandlerTypeCode = handleInfo.HandlerTypeCode;
     this.MessageTypeCode = handleInfo.MessageTypeCode;
     this.TimeStamp       = DateTime.Now;
 }
Example #2
0
 /// <summary>
 /// 检查该处理程序信息是否存在
 /// </summary>
 public virtual bool IsHandlerInfoExist(HandlerRecordData handlerInfo)
 {
     return(_handlerInfoSet.Contains(new HandlerInfoWrapper(handlerInfo)));
 }
Example #3
0
 /// <summary>
 /// 添加处理程序信息
 /// </summary>
 public virtual void AddHandlerInfo(HandlerRecordData handlerInfo)
 {
     _handlerInfoSet.Add(new HandlerInfoWrapper(handlerInfo));
 }