예제 #1
0
 public FragmentExportService(ILogger <FragmentExportService> logger, FragmentRenderer renderer,
                              SiteRenderingContext siteContext, PublishDirectoryWriter outputWriter)
 {
     _logger               = logger;
     _renderer             = renderer;
     _siteRenderingContext = siteContext;
     _outputWriter         = outputWriter;
 }
 public StaticContentExportService(ILogger <StaticContentExportService> logger,
                                   PublishDirectoryWriter outputWriter,
                                   SiteRenderingContext siteContext, StaticContentImportService importService,
                                   IOptions <DirectoryOptions> dirOptions)
 {
     _logger        = logger;
     _outputWriter  = outputWriter;
     _siteContext   = siteContext;
     _importService = importService;
     _dirOptions    = dirOptions.Value;
 }