?? contentpageinfo.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() {}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -