예제 #1
0
        public static new List <string> GetAtributes()
        {
            List <string> getAtributesFuelVehicle = FuelVehicle.GetAtributes();
            List <string> getAtributesUserCar     = Car.GetAtributes();

            foreach (string str in getAtributesUserCar)
            {
                getAtributesFuelVehicle.Add(str);
            }

            return(getAtributesFuelVehicle);
        }
예제 #2
0
        internal static new List <string> GetAtributes()
        {
            List <string> atributesFuelVehicle = FuelVehicle.GetAtributes();
            List <string> atributesToUserCar   = Car.GetAtributes();

            foreach (string str in atributesToUserCar)
            {
                atributesFuelVehicle.Add(str);
            }

            atributesFuelVehicle.Add("IsCarryDangerousMaterial");
            atributesFuelVehicle.Add("CarryVolume");
            return(atributesFuelVehicle);
        }