コード例 #1
0
        public PayrollCalculator(IEmployee employee)
        {
            if (employee == null)
            {
                throw new ArgumentNullException("employee");
            }

            this.employee = employee;

            this.timeSheetPersistance = new TimeSheetPersistance();

            this.salaryPersistance = new SalaryPersistance();
        }
コード例 #2
0
 public PayrollCalculator()
 {
     this.timeSheetPersistance = new TimeSheetPersistance();
 }