/// <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); } }
public AUpdateHandler(AUpdateHandler next = null) { _nextHandler = next; }