예제 #1
0
 /// <summary>
 /// Registers a handler at the end of the chain
 /// </summary>
 /// <param name="handler">Handler to be registered</param>
 public void Add(AUpdateHandler handler)
 {
     if (null == _nextHandler)
     {
         _nextHandler = handler;
     }
     else
     {
         _nextHandler.Add(handler);
     }
 }
예제 #2
0
 public AUpdateHandler(AUpdateHandler next = null)
 {
     _nextHandler = next;
 }