C# Class RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Movie

Inheritance: IMovie
ファイルを表示 Open project: jcbozonier/Refactoring-Katas

Public Methods

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

Method Details

Charge() public method

public Charge ( IPayingCustomer customer, int daysRented ) : void
customer IPayingCustomer
daysRented int
return void

Movie() public method

public Movie ( IPrice price ) : RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Pricing
price IPrice
return RefactoringKatas.Refactored.Replacing_conditional_logic_with_polymorphism.Pricing