C# Class SIL.FieldWorks.FDO.DomainServices.SemanticDomainSearch.SemDomSearchStrategy.SemDomSearchResults

Search Results object for accumulating SemDomSearchEngine search results from a particular SemDomSearchStrategy.
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
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)

Method Details

AddResultToBucketX() public méthode

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
Résultat void

SemDomSearchResults() public méthode

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
Résultat System

SortedBucketX() public méthode

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