Пример #1
0
 public ManController(IManRepository repo, ICpuRepository cpuRepo,
                      ISessionHelper sessionHelper)
 {
     _manRepository = repo;
     _cpuRepository = cpuRepo;
     _sessionHelper = sessionHelper;
 }
 public CpuBenchmarkDetailModel(ILogger <CpuBenchmarkDetailModel> logger, ICpuRepository cpuRepository,
                                IBenchmarkResultsRepository benchmarkResultsRepository)
 {
     _logger        = logger;
     _cpuRepository = cpuRepository;
     _benchmarkResultsRepository = benchmarkResultsRepository;
 }
Пример #3
0
 public CpuController(ICpuRepository cpuRepository, IManRepository manRepository,
                      ISessionHelper sessionHelper)
 {
     _cpuRepository = cpuRepository;
     _manRepository = manRepository;
     _sessionHelper = sessionHelper;
 }
Пример #4
0
 public ResultService(IResultsRepository resultsRepository, ICpuRepository cpuRepository,
                      ITopologyRepository topologyRepository, IIdProvider idProvider)
 {
     _resultsRepository  = resultsRepository ?? throw new ArgumentNullException(nameof(resultsRepository));
     _cpuRepository      = cpuRepository ?? throw new ArgumentNullException(nameof(cpuRepository));
     _idProvider         = idProvider ?? throw new ArgumentNullException(nameof(idProvider));
     _topologyRepository = topologyRepository ?? throw new ArgumentNullException(nameof(topologyRepository));
 }
Пример #5
0
 public CpuDetailModel(ILogger <CpuDetailModel> logger, ICpuRepository cpuRepository)
 {
     _logger        = logger;
     _cpuRepository = cpuRepository;
 }
 public PostBenchmarksModel(ILogger <PostBenchmarksModel> logger, ICpuRepository cpuRepository, IBenchmarkResultsRepository benchmarkResultsRepository)
 {
     _logger        = logger;
     _cpuRepository = cpuRepository;
     _benchmarkResultsRepository = benchmarkResultsRepository;
 }
Пример #7
0
 public UnitOfWork(ILogRepository logRepository, IDoorRepository doorRepository, ICpuRepository cpuRepository)
 {
     Logs          = logRepository;
     Door          = doorRepository;
     CpuTemprature = cpuRepository;
 }
Пример #8
0
 public IndexModel(ILogger <IndexModel> logger, ICpuRepository cpuRepository)
 {
     _logger        = logger;
     _cpuRepository = cpuRepository;
 }
Пример #9
0
 public CpuController(ICpuRepository cpuRepository, ITokenCheck tokenCheck)
 {
     _cpuRepository = cpuRepository;
     _tokenCheck = tokenCheck;
 }
Пример #10
0
 public CpusController(ICpuRepository repository)
 {
     _repository = repository;
 }