コード例 #1
0
ファイル: ArticleExtensions.cs プロジェクト: nardir/Imago
        /// <param name='operations'>
        /// Reference to the APIApp.Client.IArticle.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <IList <ArticleDTO> > GetArticlesDTOAsync(this IArticle operations, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <System.Collections.Generic.IList <APIApp.Client.Models.ArticleDTO> > result = await operations.GetArticlesDTOWithOperationResponseAsync(cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }