C# Класс SIL.FieldWorks.FDO.DomainServices.SemanticDomainSearch.SemDomSearchStrategy.SemDomSearchResults

Search Results object for accumulating SemDomSearchEngine search results from a particular SemDomSearchStrategy.
Показать файл Открыть проект

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

Метод Описание
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