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

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