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