Class SegmentAndSubsegmentSearchResultsMerged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class SegmentAndSubsegmentSearchResultsMerged : SearchResultsMerged, IEnumerable<SearchResult>, IEnumerable
Constructors
SegmentAndSubsegmentSearchResultsMerged()
Declaration
public SegmentAndSubsegmentSearchResultsMerged()
SegmentAndSubsegmentSearchResultsMerged(SegmentAndSubsegmentSearchResults)
Declaration
public SegmentAndSubsegmentSearchResultsMerged(SegmentAndSubsegmentSearchResults results)
Parameters
Type | Name | Description |
---|---|---|
SegmentAndSubsegmentSearchResults | results |
Properties
SubsegmentSearchResultsCollectionList
Declaration
public List<SubsegmentSearchResultsCollection> SubsegmentSearchResultsCollectionList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SubsegmentSearchResultsCollection> |
Methods
Merge(SegmentAndSubsegmentSearchResults, Boolean, Int32)
Appends addtional search results to the current list of search results. Note that other fields, such as the source tokens or the source word count, are not merged (although they may differ for cross-TM searches).
Declaration
public void Merge(SegmentAndSubsegmentSearchResults other, bool removeDuplicates, int cascadeEntryIndex)
Parameters
Type | Name | Description |
---|---|---|
SegmentAndSubsegmentSearchResults | other | The search results to merge with the current results. |
System.Boolean | removeDuplicates | If true, a heuristics is applied to remove duplicates. The original sort order is preserved, but the multiple translations information is re-evaluated. |
System.Int32 | cascadeEntryIndex | corresponds to the search results cascade entry index property |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable