public SitemapGenerator(ILoggerFactory loggerFactory, IUrlHelper urlHelper, IHostingEnvironment environment, SqlServerBenchmarkRepository benchmarkRepository) { this.m_logger = loggerFactory.CreateLogger <SitemapGenerator>(); this.urlHelper = urlHelper; this.environment = environment; this.benchmarkRepository = benchmarkRepository; }
public ApiController([NotNull] SqlServerBenchmarkRepository benchmarkRepository, [NotNull] ILoggerFactory loggerFactory, SitemapGenerator sitemapGenerator) { this.m_benchmarkRepository = benchmarkRepository; this.m_logger = loggerFactory.CreateLogger <ApiController>(); this.sitemapGenerator = sitemapGenerator; }
public BenchmarksController( [NotNull] SqlServerBenchmarkRepository benchmarkRepository, [NotNull] UserManager <ApplicationUser> userManager, [NotNull] IOptions <ResultsConfig> resultsConfig, [NotNull] ILoggerFactory loggerFactory, [NotNull] SqlServerResultsRepository publishResultRepository, IDetection detection) { this.m_benchmarkRepository = benchmarkRepository; this.m_userManager = userManager; this.m_resultsConfig = resultsConfig; this.m_logger = loggerFactory.CreateLogger <BenchmarksController>(); this.m_publishResultRepository = publishResultRepository; this.detection = detection; }