Class ExporterAsync
Inheritance
ExporterAsync
Namespace: SdlSdl.CoreSdl.Core.TMImportExport
Assembly: Sdl.Core.TM.ImportExport.dll
Syntax
public class ExporterAsync
Constructors
Declaration
public ExporterAsync(ICultureMetadataManager cultureMetadataManager, Func<int, int, Task<bool>> batchExportedAsync = null)
Parameters
Properties
FilterExpression
Gets or sets the filter expression.
Declaration
public FilterExpression FilterExpression { get; set; }
Property Value
Gets or sets the flavour of the exported TMX.
Declaration
public TranslationUnitFormat TmxExportFormat { get; set; }
Property Value
Methods
ExportAsync(IExportOriginAsync, string, bool)
Starts the export process with the configured settings into a file with the specified name.
This method supports GZip compressed files, such as: export.tmx.gz
Declaration
public Task ExportAsync(IExportOriginAsync exportOrigin, string fileName, bool overwriteExisting)
Parameters
Type |
Name |
Description |
IExportOriginAsync |
exportOrigin |
|
string |
fileName |
Name of the file.
|
bool |
overwriteExisting |
if set to true [overwrite existing].
|
Returns
OnBatchExportedAsync(int, int)
Declaration
protected virtual Task<bool> OnBatchExportedAsync(int totalProcessed, int totalExported)
Parameters
Type |
Name |
Description |
int |
totalProcessed |
|
int |
totalExported |
|
Returns