示例#1
0
 public WatcherService(ILogger <WatcherService> logger, IConfiguration config, ISavingService database)
 {
     _logger   = logger;
     _database = database;
     _delay    = config.GetValue(DelayConfigKey, DefaultDelay)
                 .LimitTo(MinDelay, MaxDelay);
 }
 public SavingController(ISavingService SavingService)
 {
     _SavingService = SavingService;
 }
示例#3
0
        //  Unused, for now.
        //private readonly INotificationService _notificationService;

        public SavingController(ISavingService savingService)
            : base(savingService)
        {
            _savingService = savingService;
        }
 public SavingController(ISavingService savingService, IBankAccountService bankAccountService) : base(bankAccountService)
 {
     this._savingService      = savingService;
     this._bankAccountService = bankAccountService;
 }
 public SavingsManagerInformationsController(ISavingService savingService, IJWTService jWTService)
 {
     _savingService = savingService;
     _jWTService    = jWTService;
 }