예제 #1
0
 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;
 }
예제 #2
0
 public ApiController([NotNull] SqlServerBenchmarkRepository benchmarkRepository,
                      [NotNull] ILoggerFactory loggerFactory, SitemapGenerator sitemapGenerator)
 {
     this.m_benchmarkRepository = benchmarkRepository;
     this.m_logger         = loggerFactory.CreateLogger <ApiController>();
     this.sitemapGenerator = sitemapGenerator;
 }
예제 #3
0
 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;
 }