Search Results for

    Show / Hide Table of Contents

    Class RegularIterator

    Represents a regular iterator that can retrieve all the translation units from a translation memory page by page.

    The iterator can have a filter, in which case it will only return those translation units that match the filter.

    The default page for this iterator is 100 translation units.

    Inheritance
    System.Object
    TranslationMemoryIterator
    RegularIterator
    Inherited Members
    TranslationMemoryIterator.Filter
    TranslationMemoryIterator.MaxCount
    TranslationMemoryIterator.MaxScan
    TranslationMemoryIterator.ProcessedTranslationUnits
    TranslationMemoryIterator.ScannedTranslationUnits
    TranslationMemoryIterator.Forward
    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 RegularIterator : TranslationMemoryIterator

    Constructors

    RegularIterator()

    Initializes a new instance with default values.

    Declaration
    public RegularIterator()

    RegularIterator(Int32)

    Initializes a new instance with the specified page size.

    Declaration
    public RegularIterator(int maxCount)
    Parameters
    Type Name Description
    System.Int32 maxCount

    The maximum number of translation units that this iterator will return in one 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
    public int PositionFrom { get; set; }
    Property Value
    Type Description
    System.Int32

    PositionTo

    Gets or sets the last position of the current page in this iterator.

    The page ends at this position, inclusively.

    Declaration
    public int PositionTo { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Reset()

    See Reset()

    Declaration
    public sealed override void Reset()
    Overrides
    TranslationMemoryIterator.Reset()

    On this page

    • Constructors
      • RegularIterator()
      • RegularIterator(Int32)
    • Properties
      • PositionFrom
      • PositionTo
    • Methods
      • Reset()
    Back to top Generated by DocFX