Search Results for

    Show / Hide Table of Contents

    Class DuplicateIterator

    Represents a duplicate translation units search iterator.

    After the iterator is created, it is set to start searching from the beginning of the translation memory. This instance is passed to the API, which modifies it, by annotating the current position reached and passes it back to the caller, to be used in a subsequent call.

    This object should never be modified manually.

    Inheritance
    System.Object
    TranslationMemoryIterator
    DuplicateIterator
    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 DuplicateIterator : TranslationMemoryIterator

    Constructors

    DuplicateIterator()

    Initializes a new instance.

    The iterator is positioned at the beginning of the translation memory.

    Since the translation memory is not a sorted set of translation units, the order is storage specific and should not be relied upon, outside the implementation of the iterator.

    Declaration
    public DuplicateIterator()

    DuplicateIterator(Int32)

    Initializes a new instance of the DuplicateIterator class for the specified translation memory and a specified page size.

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

    The number of translation units this iterator will return in one step.

    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 DuplicateIterator.DuplicateIteratorPosition PositionFrom { get; set; }
    Property Value
    Type Description
    DuplicateIterator.DuplicateIteratorPosition

    PositionTo

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

    The page ends at this position, inclusively.

    Declaration
    public DuplicateIterator.DuplicateIteratorPosition PositionTo { get; set; }
    Property Value
    Type Description
    DuplicateIterator.DuplicateIteratorPosition

    Methods

    Reset()

    See Reset()

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

    On this page

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