public bool Intercept(Request request) { foreach (var processor in RequestProcessors) { if (processor.Intercept(request)) { return true; } } return false; }
public void Post(Request request) { InvokeProcessors(processor => processor.Post(request)); }
public void Pre(Request request) { InvokeProcessors(processor => processor.Pre(request)); }