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
    System.Object
    ImportStatistics
    ImportResults
    Inherited Members
    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 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
    System.Int32

    BadTranslationUnits

    Gets or sets the number of bad translation units

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

    DeletedTranslationUnits

    Gets or sets the number of overwritten translation units.

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

    DiscardedTranslationUnits

    Gets or sets the total number of discarded translation units.

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

    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
    System.Int32

    MergedTranslationUnits

    Gets or sets the number of merged translation units.

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

    OverwrittenTranslationUnits

    Gets or sets the number of overwritten translation units.

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

    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
    System.Int32

    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
    System.Int32

    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
    System.Int32

    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

    On this page

    Back to top Generated by DocFX