Esempio n. 1
0
 public DotNetMetricsController(ILogger <DotNetMetricsController> logger, IGcHeapSizeMetricsApiRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
     _logger     = logger;
     _logger.LogInformation(1, "NLog встроен в DotNetMetricsController");
 }
 public GcHeapSizeMetricApiJob(IMetricsAgentClient agentClient, IAgentsRepository agentsRepository, IGcHeapSizeMetricsApiRepository repository)
 {
     _agentClient      = agentClient;
     _repository       = repository;
     _agentsRepository = agentsRepository;
 }