public RestSharpQrCodeClientHelper(IOptionsMonitor <GoQRCodeProviderConfiguration> options,
                                    ILogger <RestSharpQrCodeClientHelper> logger)
 {
     qRCodeProviderConfiguration = options.CurrentValue;
     restClient = new RestClient();
     _logger    = logger;
 }
Esempio n. 2
0
 public GoQRCodeProvider(IOptionsMonitor <GoQRCodeProviderConfiguration> options, IGoQRCodeClientHelper httpClient)
 {
     _configuration    = options.CurrentValue;
     _restClientHelper = httpClient;
 }