Beispiel #1
0
        private static CachingNavigator CreateNavigator()
        {
            var navigator = new CachingNavigator(
                new Navigator(),
                new DocumentCache());

            return(navigator);
        }
        private static IDocumentBrowser CreateEnhancedDocumentBrowser(ServiceProvider serviceProvider)
        {
            var navigator = new CachingNavigator(
                new Navigator(),
                new DocumentCache());

            var browser = new DocumentBrowser(navigator);

            return(browser);
        }