コード例 #1
0
        static void Main(string[] args)
        {
            var rentCompany = new RentCompany(new List <Car> {
                new Car("Solaris"),
                new Car("Benz"),
                new Car("Civic"),
                new Car("Kalina")
            });

            var user = new User("Anatoly", false);

            Console.WriteLine(_dateTime);
        }
コード例 #2
0
 public List <Car> GetAvailableCars(RentCompany rentCompany)
 {
     return(CarShower.GetAvailableCars(rentCompany.AllCars));
 }
コード例 #3
0
 public FacadeRentCompany(RentCompany rentCompany)
 {
     RentCompany = rentCompany;
 }