C# Класс Bamboo.Prevalence.Indexing.FullText.Token

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Equals ( object other ) : bool

Tokens are equal if both properties, Value and Position, are considered equal.

GetHashCode ( ) : int

Calculates a hashcode based on the properties Value and Position.

ToString ( ) : string

Builds a more human friendly representation of the token.

Token ( string value, int position ) : System

Creates a new token.

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

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

Tokens are equal if both properties, Value and Position, are considered equal.
public Equals ( object other ) : bool
other object object to test equality for
Результат bool

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

Calculates a hashcode based on the properties Value and Position.
public GetHashCode ( ) : int
Результат int

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

Builds a more human friendly representation of the token.
public ToString ( ) : string
Результат string

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

Creates a new token.
public Token ( string value, int position ) : System
value string token image
position int absolute position of the /// image in the original text
Результат System