Example #1
0
 public RamMetricsController(ILogger <RamMetricsController> logger, IRamMetricsApiRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
     _logger     = logger;
     _logger.LogInformation(1, "NLog встроен в RamMetricsController");
 }
 public RamMetricApiJob(IMetricsAgentClient agentClient, IAgentsRepository agentsRepository, IRamMetricsApiRepository repository)
 {
     _agentClient      = agentClient;
     _repository       = repository;
     _agentsRepository = agentsRepository;
 }