/// <summary>
 ///
 /// </summary>
 public ValidationComponent(IRedisCache redisCache,
                            IOptions <SmsOptions> smsOptions, IPassportClient passportClient, ISmsRecordRepository smsRecordRepository, IUnitOfWork unitOfWork, IBackgroundRunService backgroundRunService, AppSettings appSettings)
 {
     _redisCache           = redisCache;
     _passportClient       = passportClient;
     _smsRecordRepository  = smsRecordRepository;
     _unitOfWork           = unitOfWork;
     _backgroundRunService = backgroundRunService;
     _appSettings          = appSettings;
     _smsServerOptions     = smsOptions.Value;
 }
Example #2
0
 public TransferJobHostedService(IBackgroundRunService runService)
 {
     _runService = runService;
 }
Example #3
0
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IBackgroundRunService backgroundRunService)
 {
     _logger = logger;
     _backgroundRunService = backgroundRunService;
 }