C# 클래스 Bamboo.Prevalence.Indexing.FullText.Token

파일 보기 프로젝트 열기: bamboo/Bamboo.Prevalence 1 사용 예제들

공개 메소드들

메소드 설명
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