Example #1
0
 public AbpSmsTencentCloudSettingDefinitionProvider(
     IOptions <AbpTencentCloudCommonOptions> commonOptions,
     IOptions <AbpTencentCloudSmsOptions> smsOptions)
 {
     _commonOptions = commonOptions.Value;
     _smsOptions    = smsOptions.Value;
 }
 public AbpTencentCloudSmsTestBase()
 {
     TencentCloudApiRequester  = GetRequiredService <ITencentCloudApiRequester>();
     TencentCloudSmsOptions    = GetRequiredService <IOptions <AbpTencentCloudSmsOptions> >().Value;
     TencentCloudCommonOptions = GetRequiredService <IOptions <AbpTencentCloudCommonOptions> >().Value;
 }