private static void AddPath(Route router) { RouterCollection.Add(router); }
public void Connect(string path, object _default, object rule) { Route router = new Route(path, _default, rule); AddPath(router); }