Esempio n. 1
0
        public static new List <VehicleProperty> GetRequiredProperties()
        {
            List <VehicleProperty> properties = DetailsOfVehicle.GetRequiredProperties();

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

            return(properties);
        }
        public static new List <VehicleProperty> GetRequiredProperties()
        {
            List <VehicleProperty> properties = DetailsOfVehicle.GetRequiredProperties();

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

            return(properties);
        }
Esempio n. 3
0
        public static new List <VehicleProperty> GetRequiredProperties()
        {
            List <VehicleProperty> properties = DetailsOfVehicle.GetRequiredProperties();

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

            return(properties);
        }