public void ConfigureParking() { _parkingLookup = _dataProvider.GetConfiguration(); }
public static IParkingLot Create(int numberOfParkingLevels) { IParkingLevel parkingLevel = FactoryParkingLevel.Create(numberOfParkingLevels); IParkingLocatorProvider parkingLocatorProvider = new ParkingLocatorProvider(parkingLevel.GetConfiguration()); IBookingTracker bookingTracker = new BookingTracker(); IParkingLot parkingLot = new ParkingLot(parkingLevel, parkingLocatorProvider, bookingTracker); return(parkingLot); }