C# Class ScrewTurn.Wiki.PageAttachmentDocument

Represents a page attachment document.
Inheritance: IDocument
显示文件 Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
PageAttachmentDocument ( DumpedDocument doc ) : System

Initializes a new instance of the T:PageAttachmentDocument class.

PageAttachmentDocument ( System.PageInfo page, string name, string provider, System.DateTime dateTime ) : System

Initializes a new instance of the T:PageAttachmentDocument class.

Tokenize ( string content ) : WordInfo[]

Performs the tokenization of the document content.

Method Details

PageAttachmentDocument() public method

Initializes a new instance of the T:PageAttachmentDocument class.
public PageAttachmentDocument ( DumpedDocument doc ) : System
doc ScrewTurn.Wiki.SearchEngine.DumpedDocument The dumped document.
return System

PageAttachmentDocument() public method

Initializes a new instance of the T:PageAttachmentDocument class.
public PageAttachmentDocument ( System.PageInfo page, string name, string provider, System.DateTime dateTime ) : System
page System.PageInfo The page.
name string The attachment name.
provider string The file provider.
dateTime System.DateTime The modification date/time.
return System

Tokenize() public method

Performs the tokenization of the document content.
public Tokenize ( string content ) : WordInfo[]
content string The content to tokenize.
return WordInfo[]