public StaticContentItemBuilder(IStaticContentItemFactory factory, IContentItemReaderFactory readerFactory, IContentRestorerFactory restorerFactory) { _factory = factory; _readerFactory = readerFactory; _restorerFactory = restorerFactory; }
public StaticContentService(IStorefrontMemoryCache memoryCache, IStaticContentItemFactory contentItemFactory, IContentBlobProvider contentBlobProvider, IStaticContentLoaderFactory metadataFactory) { _contentItemFactory = contentItemFactory; _contentBlobProvider = contentBlobProvider; _memoryCache = memoryCache; _metadataFactory = metadataFactory; }
public StaticContentService(IMemoryCache memoryCache, IWorkContextAccessor workContextAccessor, IStorefrontUrlBuilder urlBuilder, IStaticContentItemFactory contentItemFactory, IContentBlobProvider contentBlobProvider) { _urlBuilder = urlBuilder; _contentItemFactory = contentItemFactory; _contentBlobProvider = contentBlobProvider; _memoryCache = memoryCache; _markdownPipeline = new MarkdownPipelineBuilder().UseAdvancedExtensions().Build(); }