Example #1
0
 /// <summary>
 /// 添加后续节点
 /// </summary>
 /// <param name="success"></param>
 public void AddSuccessor(CoRHandlerBase <Request> success)
 {
     if (this.Successors == null)
     {
         Successors = new List <CoRHandlerBase <Request> >();
     }
     Successors.Add(success);
 }
Example #2
0
 public CallHandlerEventArgs(CoRHandlerBase <T> handler, T request)
 {
     this.Handler = handler;
     this.Request = request;
 }