Class ExporterAsync
Inherited Members
Namespace: Sdl.Core.TM.ImportExport
Assembly: Sdl.Core.TM.ImportExport.dll
Syntax
public class ExporterAsync
Constructors
ExporterAsync(ICultureMetadataManager, Func<int, int, Task<bool>>)
Declaration
public ExporterAsync(ICultureMetadataManager cultureMetadataManager, Func<int, int, Task<bool>> batchExportedAsync = null)
Parameters
Type | Name | Description |
---|---|---|
ICulture |
cultureMetadataManager | |
Func<int, int, Task<bool>> | batchExportedAsync |
Properties
FilterExpression
Gets or sets the filter expression.
Declaration
public FilterExpression FilterExpression { get; set; }
Property Value
Type | Description |
---|---|
Filter |
The filter expression. |
TmxExportFormat
Gets or sets the flavour of the exported TMX.
Declaration
public TranslationUnitFormat TmxExportFormat { get; set; }
Property Value
Type | Description |
---|---|
Translation |
Methods
ExportAsync(IExportOriginAsync, string, bool)
Starts the export process with the configured settings into a file with the specified name.
Declaration
public Task ExportAsync(IExportOriginAsync exportOrigin, string fileName, bool overwriteExisting)
Parameters
Type | Name | Description |
---|---|---|
IExport |
exportOrigin | |
string | fileName | Name of the file. |
bool | overwriteExisting | if set to |
Returns
Type | Description |
---|---|
Task |
OnBatchExportedAsync(int, int)
Declaration
protected virtual Task<bool> OnBatchExportedAsync(int totalProcessed, int totalExported)