Exemplo n.º 1
0
 public AbpAliyunSmsTestBase()
 {
     AliyunApiRequester  = GetRequiredService <IAliyunApiRequester>();
     AbpAliyunSmsOptions = GetRequiredService <IOptions <AbpAliyunSmsOptions> >().Value;
 }
Exemplo n.º 2
0
 public AliyunSmsSender(IOptionsMonitor <AbpAliyunSmsOptions> options)
 {
     Options = options.CurrentValue;
 }
Exemplo n.º 3
0
 public AliyunSmsService(IOptions <AbpAliyunSmsOptions> smsOptions)
 {
     _smsOptions = smsOptions.Value;
 }