Example #1
0
 /// <summary>
 /// Api which returns CSP summarized invoice line items for the given month
 /// input.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='monthYear'>
 /// Provide month and year in "mm-yyyy" format. Example: "02-2016".
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <UsageBasedLineItem> > GetSingleMonthDataAsync(this ICspSummary operations, string monthYear, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetSingleMonthDataWithHttpMessagesAsync(monthYear, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }