${IS6_ShowRoutingParameters_Title}
${IS6_ShowRoutingParameters_Description}
/// <summary>${IS6_ShowRoutingService_method_ProcessAsync_D}</summary> /// <param name="parameters">${IS6_ShowRoutingService_method_ProcessAsync_param_Parameters}</param> /// <param name="state">${IS6_ShowRoutingService_method_ProcessAsync_param_state}</param> public void ProcessAsync(ShowRoutingParameters 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(ShowRoutingParameters parameters) { Dictionary<string, string> dictionary = new Dictionary<string, string>(); string method = "ShowRouting"; dictionary.Add("method", method); dictionary.Add("map", parameters.MapName); dictionary.Add("busRouting", BusRouting.ToJson(parameters.BusRouting)); return dictionary; }
/// <summary>${IS6_ShowRoutingService_method_ProcessAsync_D}</summary> /// <overloads>${IS6_ShowRoutingService_method_ProcessAsync_overloads_D}</overloads> public void ProcessAsync(ShowRoutingParameters parameters) { ProcessAsync(parameters, null); }