Example #1
0
 public DataPoolService(ODNSettings odnSettings) : base(odnSettings, "DataPool")
 {
 }
 public DataPoolStorageService(ODNSettings odnSettings) : base(odnSettings, "DataPoolStorage")
 {
 }
Example #3
0
 public BaseHttpService(ODNSettings odnSettings)
 {
     _odnSettings = odnSettings;
 }
Example #4
0
 public BaseHttpService(IOptionsMonitor <ODNSettings> appSettings)
 {
     _odnSettings = appSettings.CurrentValue;
 }
 public BaseODNService(ODNSettings odnSettings, string controller) : base(odnSettings)
 {
     _odnSettings = odnSettings;
     _headers.Add("ApiKey", _odnSettings.ApiKey);
     _controller = controller;
 }
 public BaseODNService(IOptionsMonitor <ODNSettings> appSettings, string controller) : base(appSettings)
 {
     _odnSettings = appSettings.CurrentValue;
     _headers.Add("ApiKey", _odnSettings.ApiKey);
     _controller = controller;
 }
 public ODNDataManager(ODNSettings settings)
 {
     _dataPoolStorageService = new DataPoolStorageService(settings);
     _dataPoolService        = new DataPoolService(settings);
 }