📄 moderatedforum.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 + -