Esempio n. 1
0
 private async Task <int> CloneObjectAsync(CloneParameters parameters, CancellationToken token) =>
 ResponseParser.Amend(
     await RequestEngine.ExecuteRequestAsync(
         parameters,
         async r => await Task.FromResult(ResponseParser.CloneRequestParser(r)).ConfigureAwait(false),
         token
         ).ConfigureAwait(false), ResponseParser.CloneResponseParser
     );
Esempio n. 2
0
 private int CloneObject(CloneParameters parameters, CancellationToken token) =>
 ResponseParser.Amend(RequestEngine.ExecuteRequest(parameters, ResponseParser.CloneRequestParser, token), ResponseParser.CloneResponseParser);