C# Class SampleApplication.Domain.DiscountCalculation.DiscountCalculator

Afficher le fichier Open project: ChrisEdwards/Fluency Class Usage Examples

Méthodes publiques

Méthode Description
CalculateDiscount ( Order order ) : double
DiscountCalculator ( IDiscountStrategy discountStrategy )

Method Details

CalculateDiscount() public méthode

public CalculateDiscount ( Order order ) : double
order Order
Résultat double

DiscountCalculator() public méthode

public DiscountCalculator ( IDiscountStrategy discountStrategy )
discountStrategy IDiscountStrategy