コード例 #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='term'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <USCPEApiDTORnrAppsSpecialFeeCode> > Get1Async(this ISpecialFeeCodes operations, string term, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.Get1WithHttpMessagesAsync(term, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
コード例 #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='term'>
 /// </param>
 public static IList <USCPEApiDTORnrAppsSpecialFeeCode> Get1(this ISpecialFeeCodes operations, string term)
 {
     return(operations.Get1Async(term).GetAwaiter().GetResult());
 }