Search Results for

    Show / Hide Table of Contents

    Class Importer

    Inheritance
    System.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
    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.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
    Sdl.Core.Globalization.CultureMetadataManager.ICultureMetadataManager cultureMetadataManager

    Methods

    Import(String)

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

    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
    System.String fileName

    The file name.

    IImportDestination importDestination
    Returns
    Type Description
    System.Boolean

    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
    System.Threading.Tasks.Task<System.Boolean>
    Overrides
    ImporterAsync.OnBatchImportedAsync(ImportStatistics, ImportResults)

    Events

    BatchImported

    Declaration
    [Obsolete("Use ImporterAsync with constructor parameter batchImportedAsync.")]
    public event EventHandler<BatchImportedEventArgs> BatchImported
    Event Type
    Type Description
    System.EventHandler<BatchImportedEventArgs>

    On this page

    • Constructors
      • Importer()
      • Importer(IImportDestination)
      • Importer(IImportDestinationAsync, ICultureMetadataManager)
    • Methods
      • Import(String)
      • Import(String, IImportDestination)
      • OnBatchImportedAsync(ImportStatistics, ImportResults)
    • Events
      • BatchImported
    Back to top Generated by DocFX