Search Results for

    Show / Hide Table of Contents

    Class ImportResults

    Encapsulates the results of an import operation.

    Inheritance
    System.Object
    ImportStatistics
    ImportResults
    Implements
    System.Collections.Generic.IEnumerable<ImportResult>
    System.Collections.IEnumerable
    Inherited Members
    ImportStatistics.Add(ImportStatistics)
    ImportStatistics.Errors
    ImportStatistics.DiscardedTranslationUnits
    ImportStatistics.AddedTranslationUnits
    ImportStatistics.MergedTranslationUnits
    ImportStatistics.OverwrittenTranslationUnits
    ImportStatistics.DeletedTranslationUnits
    ImportStatistics.RawTUs
    ImportStatistics.TotalRead
    ImportStatistics.BadTranslationUnits
    ImportStatistics.TotalImported
    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 ImportResults : ImportStatistics, IEnumerable<ImportResult>, IEnumerable

    Constructors

    ImportResults()

    Constructor. Creates an empty instance of ImportResult.

    Declaration
    public ImportResults()

    ImportResults(IList<ImportResult>)

    Constructor. Initializes a new instance of the ImportResults class.

    Declaration
    public ImportResults(IList<ImportResult> importResults)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<ImportResult> importResults

    Properties

    Count

    Gets the total number of translation units processed during the import.

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

    Item[Int32]

    Retrieves the action taken for the translation unit at the specified index.

    Declaration
    public ImportResult this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index of the translation unit.

    Property Value
    Type Description
    ImportResult

    The import result for the translation unit at the specified position.

    Methods

    GetEnumerator()

    Implementation for GetEnumerator

    Declaration
    public IEnumerator<ImportResult> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<ImportResult>

    Explicit Interface Implementations

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    On this page

    • Constructors
      • ImportResults()
      • ImportResults(IList<ImportResult>)
    • Properties
      • Count
      • Item[Int32]
    • Methods
      • GetEnumerator()
    • Explicit Interface Implementations
      • IEnumerable.GetEnumerator()
    • Implements
    Back to top Generated by DocFX