Class SegmentAndSubsegmentSearchResults
Represents a set of results returned by the translation memory after a search operation for a given input (segment/translation unit/string).
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class SegmentAndSubsegmentSearchResults : SearchResults, IEnumerable<SearchResult>, IEnumerable
Constructors
SegmentAndSubsegmentSearchResults()
Initializes a new instance with default values.
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
[DataMember]
public List<SubsegmentSearchResults> ResultsPerFragment { get; }
Property Value
Type | Description |
---|---|
ListSubsegmentSearchResults |
SubsegmentSearchResultsCollection
Declaration
[DataMember]
public SubsegmentSearchResultsCollection SubsegmentSearchResultsCollection { get; }
Property Value
Type | Description |
---|---|
SubsegmentSearchResultsCollection |