Class DuplicateIterator
Base iterator class. Contains the common properties needed for iteration through a translation memory.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class DuplicateIterator : TranslationMemoryIterator
Constructors
DuplicateIterator()
Initializes a new instance with default values (the max count is set to 100).
Declaration
public DuplicateIterator()
DuplicateIterator(int)
Initializes a new instance with the specified values.
Declaration
public DuplicateIterator(int maxCount)
Parameters
Type | Name | Description |
---|---|---|
int | maxCount | The maximum number of TUs to return in one iteration roundtrip |
Properties
PositionFrom
Gets or sets the starting position of the current page in this iterator.
The page starts at the first translation unit AFTER this position.
Declaration
[DataMember]
public DuplicateIterator.DuplicateIteratorPosition PositionFrom { get; set; }
Property Value
Type | Description |
---|---|
DuplicateIteratorDuplicateIteratorPosition |
PositionTo
Gets or sets the last position of the current page in this iterator.
The page ends at this position, inclusively.
Declaration
[DataMember]
public DuplicateIterator.DuplicateIteratorPosition PositionTo { get; set; }
Property Value
Type | Description |
---|---|
DuplicateIteratorDuplicateIteratorPosition |
Methods
Reset()
Repositions the iterator at the beginning of the translation memory.
Declaration
public override void Reset()