예제 #1
0
        /// <param name='operations'>
        /// Reference to the MyDashDataAPI.ITodoList.
        /// </param>
        /// <param name='owner'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <IList <Todo> > GetAsync(this ITodoList operations, string owner, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <MyDashDataAPI.Models.Todo> > result = await operations.GetWithOperationResponseAsync(owner, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }