private async Task <Earnings> GetEarningsFromResponseAsync(HttpResponseMessage response)
 {
     return(Earnings.FromJson(await response.Content.ReadAsStringAsync()));
 }
Esempio n. 2
0
 public static string ToJson(this Earnings self) => JsonConvert.SerializeObject(self, EODHistoricalData.NET.ConverterEarnings.Settings);
 private Earnings GetEarningsFromResponse(HttpResponseMessage response)
 {
     return(Earnings.FromJson(response.Content.ReadAsStringAsync().Result));
 }