postenums.cs

来自「本系统是在asp版《在线文件管理器》的基础上设计制作」· CS 代码 · 共 56 行

CS
56
字号
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;

namespace CommunityServer.Components {
    
    public enum ThreadStatus {
        NotSet = 0,
        Answered,
        NotAnswered
    }

    /// <summary>
    /// The CreateEditPostMode enumeration determines what mode the PostDisplay Web control assumes.
    /// The options are NewPost, ReplyToPost, and EditPost.
    /// </summary>
    public enum CreateEditPostMode { 
        /// <summary>
        /// Specifies that the user is creating a new post.
        /// </summary>
        NewPost, 
        
        /// <summary>
        /// Specifies that the user is replying to an existing post.
        /// </summary>
        ReplyToPost, 
        
        /// <summary>
        /// Specifies that a  moderator or administrator is editing an existing post.
        /// </summary>
        EditPost,
		/// <summary>
		/// Specifies that this post is a private message from one user to another
		/// </summary>
        NewPrivateMessage,
		/// <summary>
		/// Specifies that this post is being used to report another post in the system.
		/// </summary>
		ReportingPost,
		/// <summary>
		/// Specifies that this post is a private message from one user to another
		/// </summary>
		ReplyPrivateMessage
    }

    [Flags()]
    public enum PostConfiguration {
        NotSet = 0,
        IsAnonymousPost = 1
    }
}

⌨️ 快捷键说明

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