C# 클래스 ScrewTurn.Wiki.SearchEngine.SearchResult

Represents a search result.
Instance and static members are not thread-safe.
파일 보기 프로젝트 열기: mono/ScrewTurnWiki 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
document IDocument
matches WordInfoCollection
relevance Relevance

공개 메소드들

메소드 설명
SearchResult ( IDocument document ) : System

Initializes a new instance of the SearchResult class.

The relevance is initially set to 0.

ToString ( ) : string

Gets a string representation of the current instance.

메소드 상세

SearchResult() 공개 메소드

Initializes a new instance of the SearchResult class.
The relevance is initially set to 0.
If is null.
public SearchResult ( IDocument document ) : System
document IDocument The document the result refers to.
리턴 System

ToString() 공개 메소드

Gets a string representation of the current instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

document 보호되어 있는 프로퍼티

The document the result refers to.
protected IDocument document
리턴 IDocument

matches 보호되어 있는 프로퍼티

The matches in the document.
protected WordInfoCollection matches
리턴 WordInfoCollection

relevance 보호되어 있는 프로퍼티

The result relevance.
protected Relevance,ScrewTurn.Wiki.SearchEngine relevance
리턴 Relevance