コード例 #1
0
 public UserService(ILoggerFactory logger, IConfiguration config, IDBDataService dataService,
                    IEncryptionService encryptionService)
 {
     _dataService = dataService;
     _encryptor   = encryptionService;
     _logger      = logger.CreateLogger <UserService>();
     _config      = config;
 }
コード例 #2
0
        public ValveService(ILoggerFactory logger, IDBDataService dataService)
        {
            _dataService = dataService;

            _logger = logger.CreateLogger <ValveService>();
        }
コード例 #3
0
 public CalculationService(IDBDataService <IData> dataService, IHolidaysCalculationService holCalcService)
 {
     _holCalcService = holCalcService;
     _dataService    = dataService;
 }