示例#1
0
 public void Payday(PayCheck payCheck)
 {
     payCheck.GrossPay   = Classification.CalculatePay(payCheck);
     payCheck.Deductions = Affiliation.CalculateDeductions(payCheck);
     payCheck.NetPay     = payCheck.GrossPay - payCheck.Deductions;
     Method.Pay(payCheck);
 }
 public abstract double CalculatePay(PayCheck payCheck);
示例#3
0
 public abstract double CalculateDeductions(PayCheck payCheck);
示例#4
0
 public abstract void Pay(PayCheck payCheck);