public DownloadInstrument ( string instrumentUrl ) : Task |
||
instrumentUrl | string | |
Результат | Task |
DownloadInstrument(Url <Instrument> instrumentUrl) { var json = await _rawClient.DownloadInstrument(instrumentUrl.Uri.ToString()).ConfigureAwait(false); return(new Instrument(json)); }
DownloadInstrument(Url <Instrument> instrumentUrl) { var json = await _rawClient.DownloadInstrument(instrumentUrl.Uri.ToString()); return(json.ToObject <Instrument>()); }