Class SubsegmentSearchResults
Represents a set of results returned by the translation memory after a subsegment search operation for a given input (segment/translation unit/string).
Inheritance
SubsegmentSearchResults
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
[DataContract]
public class SubsegmentSearchResults : IEnumerable<SubsegmentSearchResult>, IEnumerable
Constructors
Initializes a new instance
Declaration
public SubsegmentSearchResults(short sourceFeatureStartIndex, short sourceFeatureCount, short significantFeatureCount)
Parameters
Type |
Name |
Description |
short |
sourceFeatureStartIndex |
|
short |
sourceFeatureCount |
|
short |
significantFeatureCount |
|
Properties
Gets the number of results in this instance.
Declaration
public int Count { get; }
Property Value
Declaration
public short SignificantFeatureCount { get; }
Property Value
Declaration
public short SourceFeatureCount { get; }
Property Value
Declaration
public short SourceFeatureStartIndex { get; }
Property Value
Methods
Declaration
public void Add(SubsegmentSearchResult result)
Parameters
Declaration
public void Remove(SubsegmentSearchResult result)
Parameters
Removes all the elements that match the condition defined by the specified predicate
Declaration
public int RemoveAll(Func<SubsegmentSearchResult, bool> predicate)
Parameters
Returns
Implements