public void Clear() { Files.Clear(); Routings.Clear(); Controllers.Clear(); ConditionalRouting.Clear(); ConditionalPassthroughs.Clear(); }
public void AddRoute(Func <HttpRequest, bool> condition, Action <HttpRequest> action) { ConditionalRouting.Add(condition, action); }