Exemplo n.º 1
0
        public override Dictionary <int, string> GetEnergyProperties()
        {
            Dictionary <int, string> properties = new Dictionary <int, string>();

            properties.Add(1, Car.EnterEnumMessage <eFuelKind>("fuel type"));
            properties.Add(2, "Please enter fuel amount: ");
            return(properties);
        }
Exemplo n.º 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.EnterEnumMessage <eLicenseType>("License Type:"));
            properties.Add((int)eMotorcycleProperties.EngineCapacity, "Please enter engine volume: ");
            return(properties);
        }