public HttpRequestDispatcherAction Handle(HttpMethod method, string uri) { if (uri == null) throw new ArgumentNullException(nameof(uri)); var action = new HttpRequestDispatcherAction(method, uri); _handlers.Add(action); return action; }