C# Class Refactoring.Factories.RentalFactory

Datei anzeigen Open project: Confirmit/Students

Public Methods

Method Description
Build ( ) : Rental[]
GetRentalInformation ( string title, TypeOfMovie priceCodesOfMovie, int daysRented ) : void

Private Methods

Method Description
BuildMovie ( TypeOfMovie priceCode, string title ) : Movie
BuildRental ( TypeOfMovie priceCode, string title, int daysRented ) : Rental

Method Details

Build() public static method

public static Build ( ) : Rental[]
return Rental[]

GetRentalInformation() public static method

public static GetRentalInformation ( string title, TypeOfMovie priceCodesOfMovie, int daysRented ) : void
title string
priceCodesOfMovie TypeOfMovie
daysRented int
return void