Class RegularIterator
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 RegularIterator : TranslationMemoryIterator
Constructors
RegularIterator()
Initializes a new instance with default values (the max count is set to 100).
Declaration
public RegularIterator()
RegularIterator(int)
Initializes a new instance with the specified values.
Declaration
public RegularIterator(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 int PositionFrom { get; set; }
Property Value
Type | Description |
---|---|
int |
PositionTo
Gets or sets the last position of the current page in this iterator.
The page ends at this position, inclusively.
Declaration
[DataMember]
public int PositionTo { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Reset()
Repositions the iterator at the beginning of the translation memory.
Declaration
public override sealed void Reset()