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

📄 templateinfo.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
namespace PowerEasy.Model.TemplateProc
{
    using PowerEasy.Model;
    using System;
    using System.Collections.Specialized;

    public class TemplateInfo : PowerEasy.Model.Nullable
    {
        private int m_CurrentPage;
        private int m_Id;
        private bool m_IsDynamicPage;
        private int m_NodeId;
        private string m_PageName;
        private int m_PageNum;
        private int m_PageType;
        private NameValueCollection m_QueryList;
        private string m_RootPath;
        private string m_SiteUrl;
        private string m_TemplateContent;
        private int m_TemplateType;
        private int m_TotalPub;

        public TemplateInfo()
        {
            this.m_CurrentPage = 1;
            this.m_PageNum = 1;
        }

        public TemplateInfo(bool value)
        {
            this.m_CurrentPage = 1;
            this.m_PageNum = 1;
            base.IsNull = value;
        }

        public TemplateInfo(int id, int nodeid, int templatetype, NameValueCollection querylist, string templatecontent, int currentpage, int totalpub, int pagenum, string rootpath, string pagename)
        {
            this.m_CurrentPage = 1;
            this.m_PageNum = 1;
            this.m_Id = id;
            this.m_NodeId = nodeid;
            this.m_TemplateType = templatetype;
            this.m_QueryList = querylist;
            this.m_TemplateContent = templatecontent;
            this.m_CurrentPage = currentpage;
            this.m_TotalPub = totalpub;
            this.m_PageNum = pagenum;
            this.m_RootPath = rootpath;
            this.m_PageName = pagename;
        }

        public int CurrentPage
        {
            get
            {
                return this.m_CurrentPage;
            }
            set
            {
                if (value < 1)
                {
                    this.m_CurrentPage = 1;
                }
                else
                {
                    this.m_CurrentPage = value;
                }
            }
        }

        public int Id
        {
            get
            {
                return this.m_Id;
            }
            set
            {
                this.m_Id = value;
            }
        }

        public bool IsDynamicPage
        {
            get
            {
                return this.m_IsDynamicPage;
            }
            set
            {
                this.m_IsDynamicPage = value;
            }
        }

        public int NodeId
        {
            get
            {
                return this.m_NodeId;
            }
            set
            {
                this.m_NodeId = value;
            }
        }

        public string PageName
        {
            get
            {
                return this.m_PageName;
            }
            set
            {
                this.m_PageName = value;
            }
        }

        public int PageNum
        {
            get
            {
                return this.m_PageNum;
            }
            set
            {
                this.m_PageNum = value;
            }
        }

        public int PageType
        {
            get
            {
                return this.m_PageType;
            }
            set
            {
                this.m_PageType = value;
            }
        }

        public NameValueCollection QueryList
        {
            get
            {
                return this.m_QueryList;
            }
            set
            {
                this.m_QueryList = value;
            }
        }

        public string RootPath
        {
            get
            {
                return this.m_RootPath;
            }
            set
            {
                this.m_RootPath = value;
            }
        }

        public string SiteUrl
        {
            get
            {
                return this.m_SiteUrl;
            }
            set
            {
                this.m_SiteUrl = value;
            }
        }

        public string TemplateContent
        {
            get
            {
                return this.m_TemplateContent;
            }
            set
            {
                this.m_TemplateContent = value;
            }
        }

        public int TemplateType
        {
            get
            {
                return this.m_TemplateType;
            }
            set
            {
                this.m_TemplateType = value;
            }
        }

        public int TotalPub
        {
            get
            {
                return this.m_TotalPub;
            }
            set
            {
                this.m_TotalPub = value;
            }
        }
    }
}

⌨️ 快捷键说明

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