${IS6_FuzzyFindBusStopParameters_Title}

${IS6_FuzzyFindBusStopParameters_Description}

Inheritance: ParametersBase
        /// <summary>${IS6_FuzzyFindBusStopService_method_ProcessAsync_D}</summary>
        /// <param name="parameters">${IS6_FuzzyFindBusStopService_method_ProcessAsync_param_Parameters}</param>
        /// <param name="state">${IS6_FuzzyFindBusStopService_method_ProcessAsync_param_state}</param>
        public void ProcessAsync(FuzzyFindBusStopParameters parameters, object state)
        {
            if (parameters == null)
                throw new ArgumentNullException(ExceptionStrings.ArgumentIsNull);

            if (string.IsNullOrEmpty(this.Url))
                throw new InvalidOperationException(ExceptionStrings.InvalidUrl);

            base.SubmitRequest(base.Url + "/path.ashx?", GetParameters(parameters),
                new EventHandler<RequestEventArgs>(request_Completed), state, false);
        }
        private Dictionary<string, string> GetParameters(FuzzyFindBusStopParameters parameters)
        {
            Dictionary<string, string> dictionary = new Dictionary<string, string>();

            string method = "FuzzyFindBusStop";
            dictionary.Add("method", method);
            dictionary.Add("map", parameters.MapName);
            dictionary.Add("fuzzyStopName", parameters.FuzzyStopName);

            return dictionary;
        }
 /// <summary>${IS6_FuzzyFindBusStopService_method_ProcessAsync_D}</summary>
 /// <overloads>${IS6_FuzzyFindBusStopService_method_ProcessAsync_overloads_D}</overloads>
 public void ProcessAsync(FuzzyFindBusStopParameters parameters)
 {
     ProcessAsync(parameters, null);
 }