示例#1
0
        public async void NavigateTo(string path)
        {
            NoomRequest     request = new NoomRequest(path);
            NoomRouterEntry entry   = router.Match(request);

            ISegment[]   segments = GetSegments(request);
            IViewFactory factory  = await entry.GetView(request);

            IView view = factory.Create(tools);

            await destination.Render(view, request);

            destination.Render(segments);
        }