Search Results for

    Show / Hide Table of Contents

    Class Importer

    Inheritance
    object
    ImporterAsync
    Importer
    TranslationMemoryImporter
    Inherited Members
    ImporterAsync.DefaultTranslationUnitChunkSize
    ImporterAsync.MaxTranslationUnitChunkSize
    ImporterAsync.MinTranslationUnitChunkSize
    ImporterAsync.Buffer
    ImporterAsync.ErrorOutput
    ImporterAsync.BadTuCount
    ImporterAsync._batchImportedAsync
    ImporterAsync.ImportAsync(string, IImportDestinationAsync)
    ImporterAsync.GetDefaultFileTypeManager()
    ImporterAsync.Flush(ImportStatistics, IImportDestinationAsync)
    ImporterAsync.OutputErrorTuAsync(TranslationUnit, ImportResult)
    ImporterAsync.Statistics
    ImporterAsync.FileTypeManager
    ImporterAsync.CanChangeImportFile
    ImporterAsync.TranslationMemoryUserIdSetting
    ImporterAsync.ChunkSize
    ImporterAsync.Exclusive
    ImporterAsync.ImportSettings
    ImporterAsync.InvalidTranslationUnitsExportPath
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.Core.TM.ImportExport
    Assembly: Sdl.Core.TM.ImportExport.dll
    Syntax
    [Obsolete("Use ImporterAsync directly.")]
    public class Importer : ImporterAsync

    Constructors

    Importer()

    Declaration
    [Obsolete("Use version providing ICultureMetadataManager")]
    public Importer()

    Importer(IImportDestination)

    Declaration
    [Obsolete("Use version providing ICultureMetadataManager")]
    public Importer(IImportDestination importDestination)
    Parameters
    Type Name Description
    IImportDestination importDestination

    Importer(IImportDestinationAsync, ICultureMetadataManager)

    Declaration
    public Importer(IImportDestinationAsync importDestinationAsync, ICultureMetadataManager cultureMetadataManager)
    Parameters
    Type Name Description
    IImportDestinationAsync importDestinationAsync
    ICultureMetadataManager cultureMetadataManager

    Methods

    Import(string)

    Declaration
    [Obsolete("Use ImportAsync")]
    public bool Import(string fileName)
    Parameters
    Type Name Description
    string fileName
    Returns
    Type Description
    bool

    Import(string, IImportDestination)

    Starts the import from the specified file.

    Declaration
    [Obsolete("Use ImportAsync")]
    public bool Import(string fileName, IImportDestination importDestination)
    Parameters
    Type Name Description
    string fileName

    The file name.

    IImportDestination importDestination
    Returns
    Type Description
    bool

    The import results.

    OnBatchImportedAsync(ImportStatistics, ImportResults)

    Declaration
    protected override Task<bool> OnBatchImportedAsync(ImportStatistics overallResults, ImportResults batchResults)
    Parameters
    Type Name Description
    ImportStatistics overallResults
    ImportResults batchResults
    Returns
    Type Description
    Task<bool>
    Overrides
    ImporterAsync.OnBatchImportedAsync(ImportStatistics, ImportResults)

    Events

    BatchImported

    Declaration
    [Obsolete("Use ImporterAsync with constructor parameter batchImportedAsync.")]
    public event EventHandler<BatchImportedEventArgs> BatchImported
    Event Type
    Type Description
    EventHandler<BatchImportedEventArgs>
    In this article
    • Constructors
      • Importer()
      • Importer(IImportDestination)
      • Importer(IImportDestinationAsync, ICultureMetadataManager)
    • Methods
      • Import(string)
      • Import(string, IImportDestination)
      • OnBatchImportedAsync(ImportStatistics, ImportResults)
    • Events
      • BatchImported
    Back to top Generated by DocFX