예제 #1
0
        /// <summary>
        /// 是否具有评分的权利
        /// </summary>
        /// <param name="authorizer">权限项</param>
        /// <param name="threadId">被评论的帖子ID</param>
        /// <returns>是否具有评分的权利</returns>
        public static bool BarRating(this Authorizer authorizer, long threadId)
        {
            string errorMessage;

            return(authorizer.BarRating(new BarThreadService().Get(threadId), out errorMessage));
        }