public void RootAt(string baseUrl) { _behaviorGraph.Chains.OfType<RoutedChain>().Each(x => { x.Route.RootUrlAt(baseUrl); x.AdditionalRoutes.Each(r => r.RootUrlAt(baseUrl)); }); }