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); }
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); }
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); }