C# Class ScrewTurn.Wiki.PluginFramework.PageContent

Contains the Content of a Page.
Datei anzeigen Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Property Type Description
comment string
content string
description string
keywords string[]
lastModified System.DateTime
linkedPages string[]
pageInfo System.PageInfo
title string
user string

Public Methods

Method Description
GetEmpty ( System.PageInfo page ) : PageContent

Gets an empty instance of T:PageContent.

IsEmpty ( ) : bool

Determines whether the current instance was built using M:GetEmpty.

PageContent ( System.PageInfo pageInfo, string title, string user, System.DateTime lastModified, string comment, string content, string keywords, string description ) : System

Initializes a new instance of the T:PageContent class.

Method Details

GetEmpty() public static method

Gets an empty instance of T:PageContent.
public static GetEmpty ( System.PageInfo page ) : PageContent
page System.PageInfo The page.
return PageContent

IsEmpty() public method

Determines whether the current instance was built using M:GetEmpty.
public IsEmpty ( ) : bool
return bool

PageContent() public method

Initializes a new instance of the T:PageContent class.
public PageContent ( System.PageInfo pageInfo, string title, string user, System.DateTime lastModified, string comment, string content, string keywords, string description ) : System
pageInfo System.PageInfo The PageInfo object.
title string The Title.
user string The User that last modified the Page.
lastModified System.DateTime The last modification Date and Time.
comment string The Comment of the editor, about this revision.
content string The unparsed Content.
keywords string The keywords, usually used for SEO, or null.
description string The description, usually used for SEO, or null.
return System

Property Details

comment protected_oe property

The comment of the editor, about this revision.
protected string comment
return string

content protected_oe property

The Content of the Page (WikiMarkup).
protected string content
return string

description protected_oe property

The page description, usually used for SEO.
protected string description
return string

keywords protected_oe property

The keywords, usually used for SEO.
protected string[] keywords
return string[]

lastModified protected_oe property

The Date/Time of the last modification.
protected DateTime,System lastModified
return System.DateTime

linkedPages protected_oe property

The Pages linked in this Page (both existent and inexistent).
protected string[] linkedPages
return string[]

pageInfo protected_oe property

The PageInfo object.
protected PageInfo,System pageInfo
return System.PageInfo

title protected_oe property

The Title of the Page.
protected string title
return string

user protected_oe property

The Username of the user who modified the Page.
protected string user
return string