Class Importer
Namespace: SdlSdl.CoreSdl.Core.TMImportExport
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
Declaration
public Importer(IImportDestinationAsync importDestinationAsync, ICultureMetadataManager cultureMetadataManager)
Parameters
Methods
Import(string)
Declaration
[Obsolete("Use ImportAsync")]
public bool Import(string fileName)
Parameters
Type |
Name |
Description |
string |
fileName |
|
Returns
Import(string, IImportDestination)
Starts the import from the specified file.
Declaration
[Obsolete("Use ImportAsync")]
public bool Import(string fileName, IImportDestination importDestination)
Parameters
Returns
Type |
Description |
bool |
The import results.
|
Declaration
protected override Task<bool> OnBatchImportedAsync(ImportStatistics overallResults, ImportResults batchResults)
Parameters
Returns
Overrides
Events
BatchImported
Declaration
[Obsolete("Use ImporterAsync with constructor parameter batchImportedAsync.")]
public event EventHandler<BatchImportedEventArgs> BatchImported
Event Type