コード例 #1
0
ファイル: TimelineExtensions.cs プロジェクト: jenyayel/rgroup
        /// <param name='operations'>
        /// Reference to the Rg.ClientApp.ITimeline.
        /// </param>
        /// <param name='entryId'>
        /// Required.
        /// </param>
        /// <param name='likeRequest'>
        /// Required.
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <object> PostLikeByEntryidAndLikerequestAsync(this ITimeline operations, int entryId, LikeRequest likeRequest, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <object> result = await operations.PostLikeByEntryidAndLikerequestWithOperationResponseAsync(entryId, likeRequest, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }