Пример #1
0
        public static PostV5 GetPost(int threadID, int postID)
        {
            bool        isInListCache;
            BasicThread thread = GetThread(threadID, out isInListCache);

            if (thread != null)
            {
                if (isInListCache)
                {
                    return(thread.GetPostFromCache(postID));
                }
                else
                {
                    return(null);
                }
            }

            return(null);
        }