Example #1
0
 private IEnumerable <T> PerformSearchRequest <T>(HttpRequest request) where T : SObject
 {
     using (HttpClient httpClient = new HttpClient())
     {
         XmlDocument response = httpClient.PerformRequest(request);
         return(ResponseReader.ReadSearchResponse <T>(response));
     }
 }