示例#1
0
 public YeelightService(ConfigWrapper options)
 {
     _options = options;
 }
示例#2
0
 public HueService(IOptionsMonitor <ConfigWrapper> optionsAccessor)
 {
     _options = optionsAccessor.CurrentValue;
     //CheckBridge();
 }
示例#3
0
 public YeelightService(IOptionsMonitor <ConfigWrapper> optionsAccessor)
 {
     _options = optionsAccessor.CurrentValue;
 }
示例#4
0
 public HueService(ConfigWrapper options)
 {
     _options = options;
 }
示例#5
0
 public CustomApiService(ConfigWrapper options)
 {
     _options = options;
 }
示例#6
0
 public CustomApiService(IOptionsMonitor <ConfigWrapper> optionsAccessor)
 {
     _options = optionsAccessor.CurrentValue;
 }
示例#7
0
 public LIFXService(Microsoft.Extensions.Options.IOptionsMonitor <ConfigWrapper> optionsAccessor)
 {
     _options = optionsAccessor.CurrentValue;
 }