Example #1
0
        List <Dividend> GetDividendsFromResponse(HttpResponseMessage response)
        {
            Dictionary <string, Dividend> div = Dividend.FromJson(response.Content.ReadAsStringAsync().Result);

            return(div.Values.ToList());
        }
Example #2
0
 List <Dividend> GetDividendsFromResponse(HttpResponseMessage response)
 {
     return(Dividend.FromJson(response.Content.ReadAsStringAsync().Result));
 }
Example #3
0
 private async Task <List <Dividend> > GetDividendsFromResponseAsync(HttpResponseMessage response)
 {
     return(Dividend.FromJson(await response.Content.ReadAsStringAsync()));
 }