コード例 #1
0
        public void InflateAllVehicleWheelsToMax(string i_LicenseNumber)
        {
            Vehicle desiredVehicle = getVehicleByLicenseNumber(i_LicenseNumber);

            if (desiredVehicle.Equals(null))
            {
                throw new KeyNotFoundException(k_VehicleNotFoundMessage);
            }

            desiredVehicle.InflateAllWheelsToMaxAirPressure();
        }