Class Importer
Inherited Members
      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 : ImporterAsyncConstructors
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 | 
|---|---|
| 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 | 
|---|---|---|
| String | fileName | The file name. | 
| IImportDestination | importDestination | 
Returns
| Type | Description | 
|---|---|
| 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 | 
|---|---|
| Task<Boolean> | 
Overrides
Events
BatchImported
Declaration
[Obsolete("Use ImporterAsync with constructor parameter batchImportedAsync.")]
public event EventHandler<BatchImportedEventArgs> BatchImportedEvent Type
| Type | Description | 
|---|---|
| EventHandler<BatchImportedEventArgs> |