C# 클래스 SIL.FieldWorks.FDO.DomainServices.SemanticDomainSearch.SemDomSearchStrategy.SemDomSearchResults

Search Results object for accumulating SemDomSearchEngine search results from a particular SemDomSearchStrategy.
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
AddResultToBucketX ( int bucketIndex, ICmSemanticDomain domain ) : void

The buckets are ordered in priority so adding a result to one bucket should remove that result from all lower (higher index) ones. N.B. Strategy subclasses should take care not to add a domain to a bucket if it is already in a higher priority bucket.

SemDomSearchResults ( int numberOfNeededBuckets ) : System

Create new (empty) buckets for collecting results The semantics behind each bucket are determined by the SearchStrategy using the results object

SortedBucketX ( int bucketIndex ) : IEnumerable

Returns the contents of a Bucket sorted by hierarchical code (e.g. 1.1.8)

메소드 상세

AddResultToBucketX() 공개 메소드

The buckets are ordered in priority so adding a result to one bucket should remove that result from all lower (higher index) ones. N.B. Strategy subclasses should take care not to add a domain to a bucket if it is already in a higher priority bucket.
public AddResultToBucketX ( int bucketIndex, ICmSemanticDomain domain ) : void
bucketIndex int
domain ICmSemanticDomain
리턴 void

SemDomSearchResults() 공개 메소드

Create new (empty) buckets for collecting results The semantics behind each bucket are determined by the SearchStrategy using the results object
public SemDomSearchResults ( int numberOfNeededBuckets ) : System
numberOfNeededBuckets int
리턴 System

SortedBucketX() 공개 메소드

Returns the contents of a Bucket sorted by hierarchical code (e.g. 1.1.8)
public SortedBucketX ( int bucketIndex ) : IEnumerable
bucketIndex int
리턴 IEnumerable