public Client(IConfiguration configuration, IAvAppSettings settings) { _configuration = configuration; _settings = settings; _configuration.GetSection("TrendMicro").Bind(_settings); _client = new RestClient(settings.ServiceLink); }
public AvOperation(IDataService dataService, ITrendMicroManager trendMicroManager, IConfiguration configuration, IAvAppSettings settings) { _dataService = dataService; _trendMicroManager = trendMicroManager; _configuration = configuration; _settings = settings; _configuration.GetSection("TrendMicro").Bind(_settings); }