⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moderatedforum.cs

📁 解压即可使用
💻 CS
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using CommunityServer.Components;

namespace CommunityServer.Discussions.Components {
    /// <summary>
    /// Summary description for ModeratedForum.
    /// </summary>
    public class ModeratedForum : Forum {

        String username = "";
        bool _emailNotification;
        PostSet posts = null;
        int totalPostsAwaitingModeration = 0;


        public String Username {
            get { return username;}
            set { username = value; }			
        }

        public bool EmailNotification {
            get { return _emailNotification; }
            set { _emailNotification = value; }
        }

        // *********************************************************************
        //  PostsAwaitingModeration
        //
        /// <summary>
        /// A collection of posts for this forum that require moderation.
        /// </summary>
        /// 
        // ********************************************************************/ 
        public PostSet PostsAwaitingModeration {
            get {
                return posts;
            }
            set {
                posts = value;
            }
        }

        // *********************************************************************
        //  TotalPostsAwaitingModeration
        //
        /// <summary>
        /// A collection of posts for this forum that require moderation.
        /// </summary>
        /// 
        // ********************************************************************/ 
        public int TotalPostsAwaitingModeration {
            get {
                return totalPostsAwaitingModeration;
            }
            set {
                totalPostsAwaitingModeration = value;
            }
        }

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -