Пример #1
0
 public SmsProvider(SmsSettings clickatellSettings,
                    ILogger logger,
                    ILocalizationService localizationService)
 {
     this._clickatellSettings = clickatellSettings;
     this._logger             = logger;
     _localizationService     = localizationService;
 }
Пример #2
0
        private readonly ISettingService _settingService;       // codehint: sm-add

        public UserRegisterEventConsumer(SmsSettings smsSettings,
                                         IPluginFinder pluginFinder,
                                         IDbContext dbContext,
                                         ISiteContext siteContext,
                                         IWorkContext workContext,
                                         ISettingService settingService)
        {
            this._smsSettings    = smsSettings;
            this._pluginFinder   = pluginFinder;
            this._dbContext      = dbContext;
            this._workContext    = workContext;
            this._siteContext    = siteContext;
            this._settingService = settingService;      // codehint: sm-add
        }