blogpostquery.cs

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

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

using System;

namespace CommunityServer.Blogs.Components
{
	/// <summary>
	/// Summary description for BlogPostQuery.
	/// </summary>
    public class BlogPostQuery
    {
        public int BlogID = 0;
        public int PostID = 0;
        public int PageIndex = 0;
        public int PageSize = 20;
        public int UserID = 0;
        public BlogPostConfig PostConfig = BlogPostConfig.Empty;
        public bool ReturnFullThread = false;
        public bool IncludeCategories = false;
        public string Name = null;

        public string Key
        {
            get
            {
                return string.Format("B:{0}-P:{1}-PI:{2}-PS:{3}-U:{4}-PC:{5}-RFT:{6}-IC:{7}-N:{8}",BlogID,PostID,PageIndex,PageSize,UserID,PostConfig,ReturnFullThread,IncludeCategories,Name);
            }

        }
    }
}

⌨️ 快捷键说明

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