コード例 #1
0
 public ExpiredFundsService(IExpiredFunds expiredFunds, ILevyDataSession levyDataSession, ITelemetry telemetry, IEmployerPaymentDataSession employerPaymentDataSession)
 {
     _expiredFunds               = expiredFunds ?? throw new ArgumentNullException(nameof(expiredFunds));
     _levyDataSession            = levyDataSession ?? throw new ArgumentNullException(nameof(levyDataSession));
     _telemetry                  = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
     _employerPaymentDataSession = employerPaymentDataSession;
 }
コード例 #2
0
 public AccountProjectionRepository(ICurrentBalanceRepository currentBalanceRepository,
                                    ILevyDataSession levyDataSession, IAccountProjectionDataSession accountProjectionDataSession)
 {
     _currentBalanceRepository     = currentBalanceRepository ?? throw new ArgumentNullException(nameof(currentBalanceRepository));
     _levyDataSession              = levyDataSession ?? throw new ArgumentNullException(nameof(levyDataSession));
     _accountProjectionDataSession = accountProjectionDataSession ?? throw new ArgumentNullException(nameof(accountProjectionDataSession));
 }
コード例 #3
0
 public LevyDeclarationRepository(IPayrollDateService payrollDateService, ILevyDataSession dataSession)
 {
     _payrollDateService = payrollDateService ?? throw new ArgumentNullException(nameof(payrollDateService));
     _dataSession        = dataSession ?? throw new ArgumentNullException(nameof(dataSession));
 }
 public LevyPeriodRepository(ILevyDataSession levyDataSession, IPayrollDateService payrollDateService)
 {
     LevyDataSession    = levyDataSession ?? throw new ArgumentNullException(nameof(levyDataSession));
     PayrollDateService = payrollDateService ?? throw new ArgumentNullException(nameof(payrollDateService));
 }