예제 #1
0
 /// <summary>
 /// Get a list of contacts
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// </param>
 /// <param name='take'>
 /// Number of items to return
 /// </param>
 /// <param name='skip'>
 /// Number of item to skip over
 /// </param>
 /// <param name='country'>
 /// The country of the contact
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PagedResponse <ContactsModel> > GetContactsAsync(this IContacts operations, string subscriptionId, int take, int skip, System.Guid?country = default(System.Guid?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetContactsWithHttpMessagesAsync(subscriptionId, take, skip, country, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }