コード例 #1
0
 /// <summary>
 /// Lists all billing accounts with create invoiceSection permission for a
 /// user.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// May be used to expand the invoiceSections and billingProfiles.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BillingAccountListResult> ListAsync(this IBillingAccountsWithCreateInvoiceSectionPermissionOperations operations, string expand = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
コード例 #2
0
 /// <summary>
 /// Lists all billing accounts with create invoiceSection permission for a
 /// user.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='expand'>
 /// May be used to expand the invoiceSections and billingProfiles.
 /// </param>
 public static BillingAccountListResult List(this IBillingAccountsWithCreateInvoiceSectionPermissionOperations operations, string expand = default(string))
 {
     return(operations.ListAsync(expand).GetAwaiter().GetResult());
 }