Class SegmentAndSubsegmentSearchResults
Represents a set of results returned by a subsegment translation memory after a search operation for a given input (segment/translation unit/string), providing both segment-level and subsegment matches.
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 SegmentAndSubsegmentSearchResults : SearchResults, IEnumerable<SearchResult>, IEnumerable
Constructors
SegmentAndSubsegmentSearchResults()
Declaration
public SegmentAndSubsegmentSearchResults()
SegmentAndSubsegmentSearchResults(SearchResults, SubsegmentSearchResultsCollection)
Declaration
public SegmentAndSubsegmentSearchResults(SearchResults results, SubsegmentSearchResultsCollection subsegResults)
Parameters
Type | Name | Description |
---|---|---|
SearchResults | results | |
SubsegmentSearchResultsCollection | subsegResults |
Properties
ResultsPerFragment
A list of SubsegmentSearchResults, one for each fragment in the query segment for which matches we found.
Declaration
public List<SubsegmentSearchResults> ResultsPerFragment { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SubsegmentSearchResults> |
SubsegmentSearchResultsCollection
Declaration
public SubsegmentSearchResultsCollection SubsegmentSearchResultsCollection { get; }
Property Value
Type | Description |
---|---|
SubsegmentSearchResultsCollection |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable