public override object GetExcerptService()
        {
            if (_excerptService == null)
            {
                var mappingService = (RazorSpanMappingService)GetMappingService();
                _excerptService = new RazorDocumentExcerptService(_documentSnapshot, mappingService);
            }

            return(_excerptService);
        }
Esempio n. 2
0
        public override IRazorDocumentExcerptServiceImplementation GetExcerptService()
        {
            if (_excerptService is null)
            {
                var mappingService = GetMappingService();
                _excerptService = new RazorDocumentExcerptService(_documentSnapshot, mappingService);
            }

            return(_excerptService);
        }