예제 #1
0
파일: Reviews.cs 프로젝트: rocketeerbkw/DNA
        /// <summary>
        /// Returns the Comments of a Thread in a rating forum by the threadid
        /// </summary>
        /// <param name="threadID"></param>
        /// <param name="site"></param>
        /// <returns>List of Comments</returns>
        public CommentsList RatingForumThreadCommentReadByID(string threadID, ISite site)
        {
            Threads threadsObj = new Threads(DnaDiagnostics, DnaDataReaderCreator, CacheManager, SiteList);
            threadsObj.CallingUser = CallingUser;
            threadsObj.BbcUid = BbcUid;
            threadsObj.IpAddress = IpAddress;
            int id = 0;
            Int32.TryParse(threadID, out id);

            return threadsObj.ThreadCommentsReadById(id, site);
        }