public Cashier GetCashier(String strategy) { CalculatorFactory factory = new CalculatorFactory(); ITaxCalculator taxCal = factory.GetTaxCalculator(strategy); return(new Cashier(taxCal)); }
public Cashier GetCashier(String strategy) { CalculatorFactory factory = new CalculatorFactory(); ITaxCalculator taxCal = factory.GetTaxCalculator(strategy); return(new Cashier(taxCal)); }