コード例 #1
0
        /// <param name='operations'>
        /// Reference to the ContactsList.API.IContacts.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <IList <Contact> > GetAsync(this IContacts operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <ContactsList.API.Models.Contact> > result = await operations.GetWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }