示例#1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='game'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <Game> PostGameAsync(this IGames operations, Game game, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostGameWithHttpMessagesAsync(game, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }