Пример #1
0
 public Client(IConfiguration configuration, IAvAppSettings settings)
 {
     _configuration = configuration;
     _settings      = settings;
     _configuration.GetSection("TrendMicro").Bind(_settings);
     _client = new RestClient(settings.ServiceLink);
 }
Пример #2
0
 public AvOperation(IDataService dataService, ITrendMicroManager trendMicroManager, IConfiguration configuration, IAvAppSettings settings)
 {
     _dataService       = dataService;
     _trendMicroManager = trendMicroManager;
     _configuration     = configuration;
     _settings          = settings;
     _configuration.GetSection("TrendMicro").Bind(_settings);
 }