Beispiel #1
0
        public static new List <VehicleProperties> GetRequiredProperties()
        {
            List <VehicleProperties> properties = Vehicle.GetRequiredProperties();

            properties.Add(new VehicleProperties(typeof(Car.eCarColor), "Color Of Car"));
            properties.Add(new VehicleProperties(typeof(Car.eNumberOfCarDoors), "Number Of Doors"));

            return(properties);
        }
Beispiel #2
0
        public static new List <VehicleProperties> GetRequiredProperties()
        {
            List <VehicleProperties> properties = Vehicle.GetRequiredProperties();

            properties.Add(new VehicleProperties(typeof(Motorcycle.eMotorcycleLicenseType), "License Type"));
            properties.Add(new VehicleProperties(typeof(int), "Engine Displacement"));

            return(properties);
        }
Beispiel #3
0
        public static new List <VehicleProperties> GetRequiredProperties()
        {
            List <VehicleProperties> properties = Vehicle.GetRequiredProperties();

            properties.Add(new VehicleProperties(typeof(float), "Maximum Load Weight"));
            properties.Add(new VehicleProperties(typeof(bool), "Carrying Hazardous Materials"));

            return(properties);
        }