Exemplo n.º 1
0
 public SalaryInfo(double totalSalary, double quotedSalary, List<PayPercent> insurancesPayPercent, RevenuePolicy revenuePloicy)
 {
     this.TotalSalary = totalSalary;
     this.QuotedSalary = quotedSalary;
     this.InsurancesPayPercent = insurancesPayPercent;
     this.RevenuePolicy = revenuePloicy;
     this.Insurances = this.InsurancesPayPercent.Select(row => new Insurance(row)).ToList();
 }
Exemplo n.º 2
0
 public SalaryInfo(double totalSalary, double quotedSalary, List <PayPercent> insurancesPayPercent, RevenuePolicy revenuePloicy)
 {
     this.TotalSalary          = totalSalary;
     this.QuotedSalary         = quotedSalary;
     this.InsurancesPayPercent = insurancesPayPercent;
     this.RevenuePolicy        = revenuePloicy;
     this.Insurances           = this.InsurancesPayPercent.Select(row => new Insurance(row)).ToList();
 }
Exemplo n.º 3
0
 private void LoadRevenuePolicy()
 {
     string content = File.ReadAllText(Constants.RevenuePolicyFileName, Encoding.UTF8);
     this.RevenuePolicy = SerializeHelper.XmlDeserialize<RevenuePolicy>(content);
 }