private async Task <FundamentalStock> GetFundamentalStockFromResponseAsync(HttpResponseMessage response)
 {
     return(FundamentalStock.FromJson(await response.Content.ReadAsStringAsync()));
 }
 private FundamentalStock GetFundamentalStockFromResponse(HttpResponseMessage response)
 {
     return(FundamentalStock.FromJson(response.Content.ReadAsStringAsync().Result));
 }
Пример #3
0
 public static string ToJson(this FundamentalStock self) => JsonConvert.SerializeObject(self, EODHistoricalData.NET.ConverterFundamentalStock.Settings);