${IS6_GetEntityParameters_Title}

${IS6_GetEntityParameters_Description}

Inheritance: ParametersBase
 /// <summary>${IS6_GetEntityService_method_ProcessAsync_D}</summary>
 /// <param name="parameters">${IS6_GetEntityService_method_ProcessAsync_param_parameters}</param>
 /// <param name="state">${IS6_GetEntityService_method_ProcessAsync_param_state}</param>
 public void ProcessAsync(GetEntityParameters parameters, object state)
 {
     if (parameters == null)
     {
         //TODO:本地化
         throw new ArgumentNullException(ExceptionStrings.ArgumentIsNull);
         //throw new ArgumentNullException("GetEntityParameters is Null");
     }
     if (string.IsNullOrEmpty(base.Url))
     {
         //TODO:本地化
         //throw new InvalidOperationException("Url is not set");
         throw new InvalidOperationException(ExceptionStrings.InvalidUrl);
     }
     base.SubmitRequest(base.Url + "/common.ashx?", GetParameters(parameters),
         new EventHandler<RequestEventArgs>(request_Completed), state, false);
 }
 private Dictionary<string, string> GetParameters(GetEntityParameters parameters)
 {
     Dictionary<string, string> dictionary = new Dictionary<string, string>();
     string method = "GetEntity";
     dictionary.Add("method", method);
     dictionary.Add("map", parameters.MapName);
     dictionary.Add("layerName", string.Format("\"{0}\"", parameters.LayerName));
     dictionary.Add("id", parameters.ID.ToString());
     return dictionary;
 }
 /// <summary>${IS6_GetEntityService_method_ProcessAsync_D}</summary>
 /// <overloads>${IS6_GetEntityService_method_ProcessAsync_overloads_D}</overloads>
 public void ProcessAsync(GetEntityParameters parameters)
 {
     ProcessAsync(parameters, null);
 }