C# Class SampleApplication.Domain.DiscountCalculation.DiscountCalculator

Exibir arquivo Open project: ChrisEdwards/Fluency Class Usage Examples

Public Methods

Method Description
CalculateDiscount ( Order order ) : double
DiscountCalculator ( IDiscountStrategy discountStrategy )

Method Details

CalculateDiscount() public method

public CalculateDiscount ( Order order ) : double
order Order
return double

DiscountCalculator() public method

public DiscountCalculator ( IDiscountStrategy discountStrategy )
discountStrategy IDiscountStrategy