getMatch(): Route<T, any> | null { const path = LocationService.getPath(); for (const factory of this.routeFactories_) { const route = factory.createFromPath(path); if (route !== null) { return route; } } return null; }
getRoute<CR>(factory: AbstractRouteFactory<T, any, CR, any>): Route<T, CR> | null { return factory.createFromPath(LocationService.getPath()); }