コード例 #1
0
        public Dictionary <string, string> GetExtraFeatures(string i_LicensePlateNumber)
        {
            Vehicle curVehicle = SearchVehicle(i_LicensePlateNumber);
            Dictionary <string, string> extraFeatures = null;

            if (curVehicle == null)
            {
                throw new VehicleNotInGarageException();
            }
            else
            {
                extraFeatures = curVehicle.GetExtraFeatursDictionary();
            }
            return(extraFeatures);
        }