public async Task <T> DownloadObjectTaskAsync() { string url = _setting.GetUrlInternal(); var contentStr = await DownloadStringTaskAync(url); T obj = ConvertResult(contentStr, _setting.Ticker); return(obj); }
public async Task <T> DownloadObjectTaskAsync(BaseSetting setting) { return(await DownloadObjectTaskAsync(setting.GetUrlInternal())); }