private static ITaxCalculator InitTaxCalculator() { ITaxTable taxTable = new TaxTable(); IBenefits benefits = new Benefits(); TaxCalculator tc = new TaxCalculator(taxTable, benefits); return tc; }
private TaxCalculator GetCalculator() { ITaxTable taxTable = new TaxTable(); IBenefits benefits = new Benefits(); TaxCalculator tc = new TaxCalculator(taxTable, benefits); return tc; }