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