コード例 #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='color'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <string> Get1Async(this IColor operations, string color, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.Get1WithHttpMessagesAsync(color, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }