Esempio n. 1
0
 private IEnumerable <T> PerformRetrieveRequest <T>(HttpRequest request) where T : SObject
 {
     using (HttpClient httpClient = new HttpClient())
     {
         XmlDocument response = httpClient.PerformRequest(request);
         return(ResponseReader.ReadRetriveResponse <T>(response));
     }
 }