コード例 #1
0
        public override List <VehicleParam> GetNewVehicleParams()
        {
            List <VehicleParam> parmatersList = new List <VehicleParam>();

            parmatersList.AddRange(Vehicle.GetParams());
            parmatersList.AddRange(FuelVehicle.GetParams());
            parmatersList.AddRange(Bike.GetParams());
            return(parmatersList);
        }
コード例 #2
0
        public override List <VehicleParam> GetNewVehicleParams()
        {
            List <VehicleParam> parmatersList = new List <VehicleParam>();

            parmatersList.AddRange(Vehicle.GetParams());
            parmatersList.AddRange(ElectricVehicle.GetParams());
            parmatersList.AddRange(Car.GetParams());
            return(parmatersList);
        }