C# Class ScrewTurn.Wiki.PageRow

Represents a Page for display purposes.
Mostra file Open project: mono/ScrewTurnWiki

Public Methods

Method Description
PageRow ( System.PageInfo page, PageContent currentContent, PageContent firstContent, int discussionCount, int revisionCount, bool isOrphan, bool canEdit, bool canSelect, bool canSetPermissions, bool selected ) : System

Initializes a new instance of the T:PageRow class.

Method Details

PageRow() public method

Initializes a new instance of the T:PageRow class.
public PageRow ( System.PageInfo page, PageContent currentContent, PageContent firstContent, int discussionCount, int revisionCount, bool isOrphan, bool canEdit, bool canSelect, bool canSetPermissions, bool selected ) : System
page System.PageInfo The original page.
currentContent ScrewTurn.Wiki.PluginFramework.PageContent The current content.
firstContent ScrewTurn.Wiki.PluginFramework.PageContent The first revision content.
discussionCount int The number of messages in the discussion.
revisionCount int The number of revisions.
isOrphan bool A value indicating whether the page is orphan.
canEdit bool A value indicating whether the current user can edit the page.
canSelect bool A value indicating whether the current user can select the page.
canSetPermissions bool A value indicating whether the current user can set permissions for the page.
selected bool A value indicating whether the page is selected.
return System