Esempio n. 1
0
 /// <summary>
 /// Concatenate values from a Dictionary to query parameters dictionary.
 /// </summary>
 public void AddQueryParameters(Dictionary <string, object> queryParamaters)
 {
     if (QueryParameters == null)
     {
         QueryParameters = new Dictionary <string, object>(queryParamaters);
     }
     else
     {
         QueryParameters = QueryParameters.Concat(queryParamaters).ToDictionary(x => x.Key, x => x.Value);
     }
 }