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