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

📄 contentpageinfo.cs

📁 C#邮件代码库,用于邮件发送
💻 CS
字号:
namespace ASPNET.StarterKit.Communities {

    using System;



    //*********************************************************************
    //
    // ContentPageInfo Class
    //
    // Represents all information about a particular content page. This
    // class differs from the content info class in that it does not
    // represent information about the content of a content page. It
    // represents only the information needed to create the page shell
    // in the community default page.
    //
    //*********************************************************************

    public class ContentPageInfo {

        int _contentPageID;
        int _parentID;
        int _sectionID;
        int _pageType;
        string _title;
        string _description;
        string _metaDescription;
        string _metaKeys;
        string _pageContent;
        ModerationStatus _moderationStatus;        


        //*********************************************************************
        //
        // ContentPageID Property
        //
        // Represents the content page ID. 
        //
        //*********************************************************************
        
        public int ContentPageID {
            get { return _contentPageID; }
            set { _contentPageID = value; }
        }
        


        //*********************************************************************
        //
        // ParentID Property
        //
        // Represents the parent page of this page. 
        //
        //*********************************************************************

        public int ParentID {
            get { return _parentID; }
            set { _parentID = value; }
        }


        //*********************************************************************
        //
        // SectionID Property
        //
        // Represents the section associated with this page. 
        //
        //*********************************************************************
        
        public int SectionID {
            get { return _sectionID; }
            set { _sectionID = value; }
        }



        //*********************************************************************
        //
        // PageType Property
        //
        // Represents the ID of the type of content represented by
        // this page. 
        //
        //*********************************************************************
                
        public int PageType {
            get { return _pageType; }
            set { _pageType = value; }
        }


        //*********************************************************************
        //
        // Title Property
        //
        // Represents the title of this page. 
        //
        //*********************************************************************
                
        public string Title {
            get { return _title; }
            set { _title = value; }
        }


        //*********************************************************************
        //
        // Description Property
        //
        // Represents the description of this page. 
        //
        //*********************************************************************
                
        public string Description {
            get { return _description; }
            set { _description = value; }
        }


        //*********************************************************************
        //
        // MetaDescription Property
        //
        // Represents the content page's meta description. 
        //
        //*********************************************************************
                
        public string MetaDescription {
            get { return _metaDescription; }
            set { _metaDescription = value; }
        }


        //*********************************************************************
        //
        // MetaKeys Property
        //
        // Represents the content page's meta keys. 
        //
        //*********************************************************************
                
        public string MetaKeys {
            get { return _metaKeys; }
            set { _metaKeys = value; }
        }


        //*********************************************************************
        //
        // PageContent Property
        //
        // Represents the type of content contained in the content page. 
        //
        //*********************************************************************
        
        public string PageContent {
            get { return _pageContent; }
            set { _pageContent = value; }
        }



        //*********************************************************************
        //
        // ModerationStatus Property
        //
        // Represents the current moderation status of the page. 
        //
        //*********************************************************************
        
        public ModerationStatus ModerationStatus {
            get {return _moderationStatus;}
            set {_moderationStatus = value;}
        }


        //*********************************************************************
        //
        // ContentPageInfo Constructor
        //
        // Initializes the ContentPageInfo class. 
        //
        //*********************************************************************
        
        public ContentPageInfo() {}
        
    }
}

⌨️ 快捷键说明

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