/// <summary> /// Return a list of all user accounts for the client. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// Client short name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <PublicAccount> > GetListAccountsAsync(this IAccounts operations, string client, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetListAccountsWithHttpMessagesAsync(client, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }