public virtual Func <ShoppingBasket, DiscountOfProducts> GetFunction() { return(discountCalculator.GetFunction()); }
public DiscountCalculator(IDiscountCalculator calc) { this.F = new Func <ShoppingBasket, DiscountOfProducts>(calc.GetFunction()); }
public virtual Func <ShoppingBasket, DiscountOfProducts> GetFunction() { return(discountCalculator.GetFunction()); }
public DiscountCalculator(IDiscountCalculator calc) { this.F = new Func <ShoppingBasket, DiscountOfProducts>(calc.GetFunction()); }