C# Class ScrewTurn.Wiki.SearchEngine.DumpedWord

Represents a word structured for easy dumping to disk or database.
The class is not thread-safe.
显示文件 Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Property Type Description
id uint
text string

Public Methods

Method Description
DumpedWord ( Word word ) : System

Initializes a new instance of the DumpedWord class.

DumpedWord ( uint id, string text ) : System

Initializes a new instance of the DumpedWord class.

Method Details

DumpedWord() public method

Initializes a new instance of the DumpedWord class.
If is null.
public DumpedWord ( Word word ) : System
word Word The word to extract the information from.
return System

DumpedWord() public method

Initializes a new instance of the DumpedWord class.
If is null. If is empty.
public DumpedWord ( uint id, string text ) : System
id uint The unique word ID.
text string The word culture-invariant lowercase text.
return System

Property Details

id protected_oe property

The word unique ID.
protected uint id
return uint

text protected_oe property

The word culture-invariant lowercase text.
protected string text
return string