Search Results for

    Show / Hide Table of Contents

    Class ImportStatistics

    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
    Inherited Members
    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 ImportStatistics

    Constructors

    ImportStatistics()

    Declaration
    public ImportStatistics()

    Properties

    AddedTranslationUnits

    Gets or sets the number of added translation units.

    Declaration
    public int AddedTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    BadTranslationUnits

    Gets or sets the number of invalid translation units (error + discard tus)

    Declaration
    public int BadTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    DeletedTranslationUnits

    Gets or sets the number of deleted translation units.

    Declaration
    public int DeletedTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    DiscardedTranslationUnits

    Gets or sets the total number of discarded translation units. (FilterMismatch + Duplicate tus)

    Declaration
    public int DiscardedTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    DuplicateTranslationUnits

    Gets or sets the number of duplicate translation units.

    Declaration
    public int DuplicateTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    Errors

    Gets or sets the total number of translation units that generated errors (Action.Error) during the import process.

    Declaration
    public int Errors { get; set; }
    Property Value
    Type Description
    int

    FilterMismatchTranslationUnits

    Gets or sets the number of translation units rejected by filter.

    Declaration
    public int FilterMismatchTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    MergedTranslationUnits

    Gets or sets the number of merged translation units.

    Declaration
    public int MergedTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    OverwrittenTranslationUnits

    Gets or sets the number of overwritten translation units.

    Declaration
    public int OverwrittenTranslationUnits { get; set; }
    Property Value
    Type Description
    int

    RawTUs

    Gets or sets the number of "raw" TUs which have been encountered in the input file. Since some import engines (such as the TMXImporter) map multilingual TUs to bilingual 1:1 TUs, and also filter out language directions the caller doesn't want to process, the number of raw TUs may significantly differ from the number of read TUs.

    Declaration
    public int RawTUs { get; set; }
    Property Value
    Type Description
    int

    TotalImported

    Gets the total number of imported translation units (the sum of added, merged, and overwritten TUs).

    Declaration
    public int TotalImported { get; }
    Property Value
    Type Description
    int

    TotalRead

    Gets or sets the number of total TUs which have been processed by the import engine.

    Declaration
    public int TotalRead { get; set; }
    Property Value
    Type Description
    int

    Methods

    Add(ImportStatistics)

    Adds, for each count category, the values of the other instance to the same count category of this instance.

    Declaration
    public void Add(ImportStatistics other)
    Parameters
    Type Name Description
    ImportStatistics other

    The counts to add

    In this article
    • Constructors
      • ImportStatistics()
    • Properties
      • AddedTranslationUnits
      • BadTranslationUnits
      • DeletedTranslationUnits
      • DiscardedTranslationUnits
      • DuplicateTranslationUnits
      • Errors
      • FilterMismatchTranslationUnits
      • MergedTranslationUnits
      • OverwrittenTranslationUnits
      • RawTUs
      • TotalImported
      • TotalRead
    • Methods
      • Add(ImportStatistics)
    Back to top Generated by DocFX