C# Класс ScrewTurn.Wiki.PluginFramework.PageContent

Contains the Content of a Page.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
comment string
content string
description string
keywords string[]
lastModified System.DateTime
linkedPages string[]
pageInfo System.PageInfo
title string
user string

Открытые методы

Метод Описание
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.

Описание методов

GetEmpty() публичный статический Метод

Gets an empty instance of T:PageContent.
public static GetEmpty ( System.PageInfo page ) : PageContent
page System.PageInfo The page.
Результат PageContent

IsEmpty() публичный Метод

Determines whether the current instance was built using M:GetEmpty.
public IsEmpty ( ) : bool
Результат bool

PageContent() публичный Метод

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.
Результат System

Описание свойств

comment защищенное свойство

The comment of the editor, about this revision.
protected string comment
Результат string

content защищенное свойство

The Content of the Page (WikiMarkup).
protected string content
Результат string

description защищенное свойство

The page description, usually used for SEO.
protected string description
Результат string

keywords защищенное свойство

The keywords, usually used for SEO.
protected string[] keywords
Результат string[]

lastModified защищенное свойство

The Date/Time of the last modification.
protected DateTime,System lastModified
Результат System.DateTime

linkedPages защищенное свойство

The Pages linked in this Page (both existent and inexistent).
protected string[] linkedPages
Результат string[]

pageInfo защищенное свойство

The PageInfo object.
protected PageInfo,System pageInfo
Результат System.PageInfo

title защищенное свойство

The Title of the Page.
protected string title
Результат string

user защищенное свойство

The Username of the user who modified the Page.
protected string user
Результат string