Class Importer
Inheritance
System.Object
Importer
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()
Assembly: Sdl.Core.TM.ImportExport.dll
Syntax
Constructors
Importer()
Declaration
Importer(IImportDestination)
Declaration
public Importer(IImportDestination importDestination)
Parameters
Fields
BadTuCount
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Buffer
Declaration
protected readonly List<TranslationUnit> Buffer
Field Value
DefaultTranslationUnitChunkSize
Declaration
public const int DefaultTranslationUnitChunkSize = 200
Field Value
Type |
Description |
System.Int32 |
|
ErrorOutput
Declaration
protected TMXWriter ErrorOutput
Field Value
MaxTranslationUnitChunkSize
Declaration
public const int MaxTranslationUnitChunkSize = 200
Field Value
Type |
Description |
System.Int32 |
|
Properties
CanChangeImportFile
Declaration
public bool CanChangeImportFile { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ChunkSize
Declaration
public int ChunkSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Exclusive
Declaration
public bool Exclusive { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
FileTypeManager
Declaration
public IFileTypeManager FileTypeManager { get; set; }
Property Value
ImportSettings
Declaration
public ImportSettings ImportSettings { get; set; }
Property Value
InvalidTranslationUnitsExportPath
Declaration
public string InvalidTranslationUnitsExportPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Statistics
Declaration
public ImportStatistics Statistics { get; set; }
Property Value
TranslationMemoryUserIdSetting
Declaration
public string TranslationMemoryUserIdSetting { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
protected ImportExportResponse Flush(ImportStatistics stats)
Parameters
Returns
GetDefaultFileTypeManager()
Declaration
public IFileTypeManager GetDefaultFileTypeManager()
Returns
Import(String)
Declaration
public bool Import(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
Type |
Description |
System.Boolean |
|
Import(String, IImportDestination)
Declaration
public bool Import(string fileName, IImportDestination importDestination)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected ImportExportResponse OnBatchImported(ImportResults batchResults, ImportStatistics overallResults)
Parameters
Returns
Declaration
protected void OutputErrorTu(TranslationUnit tu, ImportResult result)
Parameters
Events
BatchImported
Declaration
public event EventHandler<BatchImportedEventArgs> BatchImported
Event Type