public HandlersChain AddHandler (BaseRequestProcessorHandler handler) { if (chain == null) { chain = handler; } else { BaseRequestProcessorHandler current = chain; while (current.Next != null) current = current.Next; current.Next = handler; } return this; }
public HandlersChain AddHandler(BaseRequestProcessorHandler handler) { if (chain == null) { chain = handler; } else { BaseRequestProcessorHandler current = chain; while (current.Next != null) { current = current.Next; } current.Next = handler; } return(this); }