Méthode | Description | |
---|---|---|
Add ( |
Adds a new item to the collection of items returned by the search. If the hit represents an existing record it will be combined to the existing hit instead.
|
|
Contains ( IRecord record ) : bool |
Checks if the specified record was returned by the search. reference comparison is always used |
|
Filter ( ISearchHitFilter filter ) : |
Build a new SearchResult object including only those elements for which the filter returns true.
|
|
GetEnumerator ( ) : IEnumerator |
See IEnumerable.GetEnumerator for details
|
|
GetRecordEnumerator ( ) : SearchHitRecordEnumerator |
Returns an enumerator for all the records in this object.
|
|
Intersect ( |
Set intersection operation. Creates a new SearchResult with all the records that exist in both SearchResult objects. all the SearchHit objects in the resulting SearchResult are clones from the original ones combined to the ones in other |
|
SearchResult ( ) : System |
Creates an empty SearchResult object.
|
|
Sort ( IComparer comparer ) : void |
Sorts the result using the specified comparer.
|
|
SortByField ( string field ) : void |
Sorts the result by a specific record field.
|
|
ToRecordArray ( ) : |
||
ToRecordArray ( |
Copies all the records to an array. The order is mantained so that this[N].Record == resultingArray[N] is valid for every 0 <= N < this.Count.
|
|
this ( int index ) : |
Returns an item by its position
|
Méthode | Description | |
---|---|---|
FindSearchHit ( IRecord record ) : |
Finds a SearchHit that represents a specific record.
|
public Add ( |
||
hit | the hit to be added or /// combined to a existing hit | |
Résultat | void |
public Contains ( IRecord record ) : bool | ||
record | IRecord | record to be checked |
Résultat | bool |
public Filter ( ISearchHitFilter filter ) : |
||
filter | ISearchHitFilter | filter |
Résultat |
protected FindSearchHit ( IRecord record ) : |
||
record | IRecord | the record to search for |
Résultat |
public GetRecordEnumerator ( ) : SearchHitRecordEnumerator | ||
Résultat | SearchHitRecordEnumerator |
public Intersect ( |
||
other | ||
Résultat |
public SortByField ( string field ) : void | ||
field | string | the field to be used in the sort |
Résultat | void |
public ToRecordArray ( |
||
recordType | array element type | |
Résultat |