Beispiel #1
0
 private void _read()
 {
     _tag = m_io.ReadU1();
     switch (Tag)
     {
     case 2: {
         _body = new RepeatBody(m_io, this, m_root);
         break;
     }
     }
 }
Beispiel #2
0
    public async Task <ExecutionSummary> ExecuteRepeatAsync(RepeatBody body, CancellationToken cancellationToken = default)
    {
        var response = await httpClient.PostAsJsonAsync(urlRepeat ??= $"{rootAddress}/api/repeat", body, cancellationToken);

        return((await response.EnsureSuccessStatusCode().Content.ReadFromJsonAsync <ExecutionSummary>()) !);
    }