C# Class ScrewTurn.Wiki.PluginFramework.PageContent

Contains the Content of a Page.
Afficher le fichier Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Свойство Type Description
comment string
content string
description string
keywords string[]
lastModified System.DateTime
linkedPages string[]
pageInfo System.PageInfo
title string
user string

Méthodes publiques

Méthode 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 méthode

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

IsEmpty() public méthode

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

PageContent() public méthode

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.
Résultat System

Property Details

comment protected_oe property

The comment of the editor, about this revision.
protected string comment
Résultat string

content protected_oe property

The Content of the Page (WikiMarkup).
protected string content
Résultat string

description protected_oe property

The page description, usually used for SEO.
protected string description
Résultat string

keywords protected_oe property

The keywords, usually used for SEO.
protected string[] keywords
Résultat string[]

lastModified protected_oe property

The Date/Time of the last modification.
protected DateTime,System lastModified
Résultat System.DateTime

linkedPages protected_oe property

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

pageInfo protected_oe property

The PageInfo object.
protected PageInfo,System pageInfo
Résultat System.PageInfo

title protected_oe property

The Title of the Page.
protected string title
Résultat string

user protected_oe property

The Username of the user who modified the Page.
protected string user
Résultat string