C# Class RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Movie

Inheritance: IMovie
Afficher le fichier Open project: jcbozonier/Refactoring-Katas

Méthodes publiques

Méthode Description
Charge ( IPayingCustomer customer, int daysRented ) : void
Movie ( IPrice price ) : RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Pricing

Method Details

Charge() public méthode

public Charge ( IPayingCustomer customer, int daysRented ) : void
customer IPayingCustomer
daysRented int
Résultat void

Movie() public méthode

public Movie ( IPrice price ) : RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Pricing
price IPrice
Résultat RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Pricing