Ejemplo n.º 1
0
        private static CachingNavigator CreateNavigator()
        {
            var navigator = new CachingNavigator(
                new Navigator(),
                new DocumentCache());

            return(navigator);
        }
Ejemplo n.º 2
0
        private static IDocumentBrowser CreateEnhancedDocumentBrowser(ServiceProvider serviceProvider)
        {
            var navigator = new CachingNavigator(
                new Navigator(),
                new DocumentCache());

            var browser = new DocumentBrowser(navigator);

            return(browser);
        }