Search Results for

    Show / Hide Table of Contents

    Class ImportResults

    Encapsulates the results of an import process without keeping track of the individual action taken for each import TU. The ImportResults give more detail.

    Inheritance
    object
    ImportStatistics
    ImportResults
    Implements
    IEnumerable<ImportResult>
    IEnumerable
    Inherited Members
    ImportStatistics.Add(ImportStatistics)
    ImportStatistics.Errors
    ImportStatistics.DiscardedTranslationUnits
    ImportStatistics.AddedTranslationUnits
    ImportStatistics.MergedTranslationUnits
    ImportStatistics.OverwrittenTranslationUnits
    ImportStatistics.DeletedTranslationUnits
    ImportStatistics.FilterMismatchTranslationUnits
    ImportStatistics.DuplicateTranslationUnits
    ImportStatistics.RawTUs
    ImportStatistics.TotalRead
    ImportStatistics.BadTranslationUnits
    ImportStatistics.TotalImported
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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
    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
    int

    this[int]

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

    Declaration
    public ImportResult this[int index] { get; set; }
    Parameters
    Type Name Description
    int 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
    IEnumerator<ImportResult>

    Implements

    IEnumerable<T>
    IEnumerable
    In this article
    • Constructors
      • ImportResults()
      • ImportResults(IList<ImportResult>)
    • Properties
      • Count
      • this[int]
    • Methods
      • GetEnumerator()
    • Implements
    Back to top Generated by DocFX