예제 #1
0
        public override Dictionary <int, string> GetEngineProperties()
        {
            Dictionary <int, string> properties = new Dictionary <int, string>();

            properties.Add(1, Car.enterEnumMsg <eFuelType>("fuel type"));
            properties.Add(2, "Please enter fuel amount");

            return(properties);
        }
예제 #2
0
        public override Dictionary <int, string> getVehicleProperties()
        {
            Dictionary <int, string> properties = new Dictionary <int, string>();

            properties.Add((int)eMotorCycleProperties.Model, "Please enter model");
            properties.Add((int)eMotorCycleProperties.LicenseType, Car.enterEnumMsg <eLicenseType>("LicenseNumber type"));
            properties.Add((int)eMotorCycleProperties.EngineVolume, "Please enter engine volume");

            return(properties);
        }