C# Class ScrewTurn.Wiki.SearchEngine.DumpedDocument

Represents a document structured for easy dumped on disk or database.
The class is not thread-safe.
Show file Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Property Type Description
dateTime System.DateTime
id uint
name string
title string
typeTag string

Public Methods

Method Description
DumpedDocument ( IDocument document ) : System

Initializes a new instance of the DumpedDocument class.

DumpedDocument ( uint id, string name, string title, string typeTag, System.DateTime dateTime ) : System

Initializes a new instance of the DumpedDocument class.

Method Details

DumpedDocument() public method

Initializes a new instance of the DumpedDocument class.
If is null.
public DumpedDocument ( IDocument document ) : System
document IDocument The document do wrap for dumping.
return System

DumpedDocument() public method

Initializes a new instance of the DumpedDocument class.
If , or are null. If , or are empty.
public DumpedDocument ( uint id, string name, string title, string typeTag, System.DateTime dateTime ) : System
id uint The document unique ID.
name string The document unique name.
title string The document title.
typeTag string The document type tag.
dateTime System.DateTime The document date/time.
return System

Property Details

dateTime protected property

The document date/time.
protected DateTime,System dateTime
return System.DateTime

id protected property

The document unique ID.
protected uint id
return uint

name protected property

The document unique name.
protected string name
return string

title protected property

The document title.
protected string title
return string

typeTag protected property

The document type tag.
protected string typeTag
return string