Пример #1
0
 public WebServerFileSystemContentIndexer(ILogger <WebServerFileSystemContentIndexer> logger,
                                          PostFileParser postFileParser,
                                          IWebHostEnvironment webHostEnvironment,
                                          PostFileSorter postFileSorter)
 {
     this.webHostEnvironment = webHostEnvironment;
     this.postFileParser     = postFileParser;
     this.logger             = logger;
     this.postFileSorter     = postFileSorter;
 }
Пример #2
0
 public AzureStorageYamlIndexer(ILogger <AzureStorageYamlIndexer> logger,
                                IOptions <AzureStorageConfiguration> config,
                                PostFileParser postFileParser,
                                PostFileSorter postFileSorter)
 {
     this.postFileParser = postFileParser;
     this.config         = config.Value;
     this.logger         = logger;
     this.postFileSorter = postFileSorter;
 }