コード例 #1
0
ファイル: FamilyRental.cs プロジェクト: raparicio6/BikeRental
 public FamilyRental(IClient client, FamilyRentalInformation information, IList <IRental> rentals)
 {
     this.Client      = client;
     this.Information = information;
     this.Rentals     = rentals;
     this.Payment     = null;
 }
コード例 #2
0
 public RentalOperator(FamilyRentalInformation updatedFamilyRentalInformation,
                       RentalByHour updatedRentalByHour, RentalByDay updatedRentalByDay, RentalByWeek updatedRentalByWeek)
 {
     this.CurrentFamilyRentalInformation = updatedFamilyRentalInformation;
     this.CurrentRentalByHourModality    = updatedRentalByHour;
     this.CurrentRentalByDayModality     = updatedRentalByDay;
     this.CurrentRentalByWeekModality    = updatedRentalByWeek;
 }
コード例 #3
0
 public void UpdateCurrentFamilyRentalInformation(FamilyRentalInformation updatedFamilyRentalInformation)
 {
     this.CurrentFamilyRentalInformation = updatedFamilyRentalInformation;
 }