C# Class RefactoringKatas.Original.Replacing_conditional_logic_with_polymorphism.MovieRental

Afficher le fichier Open project: jcbozonier/Refactoring-Katas

Méthodes publiques

Méthode Description
Charge ( IPayingCustomer customer ) : void
CreateMovieRentalWithRegularPriceCode ( int daysRented ) : MovieRental
MovieRental ( int daysRented, MovieRentalPriceCode movieRentalPriceCode )

Method Details

Charge() public méthode

public Charge ( IPayingCustomer customer ) : void
customer IPayingCustomer
Résultat void

CreateMovieRentalWithRegularPriceCode() public static méthode

public static CreateMovieRentalWithRegularPriceCode ( int daysRented ) : MovieRental
daysRented int
Résultat MovieRental

MovieRental() public méthode

public MovieRental ( int daysRented, MovieRentalPriceCode movieRentalPriceCode )
daysRented int
movieRentalPriceCode MovieRentalPriceCode