Exemple #1
0
 private static IEnumerable <T> GetEnumeratedResponse <T>(Stream responseStream, HttpResponseMessage response)
 {
     using (response)
         using ( responseStream )
         {
             foreach (var item in RestClientHelper.DeserializeEnumeratedObject <T>(responseStream))
             {
                 yield return(item);
             }
         }
 }