コード例 #1
0
ファイル: CommentClient.cs プロジェクト: meteorsnows/Hohoema
        private async Task <NMSG_Response> GetCommentsFromNMSG()
        {
            if (CommentSessionContext == null)
            {
                return(null);
            }

            return(await CommentSessionContext.GetCommentFirstAsync());
        }
コード例 #2
0
ファイル: CommentClient.cs プロジェクト: meteorsnows/Hohoema
 public async Task <PostCommentResponse> SubmitComment(string comment, TimeSpan position, string commands)
 {
     return(await CommentSessionContext.PostCommentAsync(position, comment, commands));
 }