Search Results for

    Show / Hide Table of Contents

    Class ExporterAsync

    Inheritance
    object
    ExporterAsync
    Exporter
    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
    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
    ICultureMetadataManager 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
    FilterExpression

    The filter expression.

    TmxExportFormat

    Gets or sets the flavour of the exported TMX.

    Declaration
    public TranslationUnitFormat TmxExportFormat { get; set; }
    Property Value
    Type Description
    TranslationUnitFormat

    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
    Type Description
    Task

    OnBatchExportedAsync(int, int)

    Declaration
    protected virtual Task<bool> OnBatchExportedAsync(int totalProcessed, int totalExported)
    Parameters
    Type Name Description
    int totalProcessed
    int totalExported
    Returns
    Type Description
    Task<bool>
    In this article
    • Constructors
      • ExporterAsync(ICultureMetadataManager, Func<int, int, Task<bool>>)
    • Properties
      • FilterExpression
      • TmxExportFormat
    • Methods
      • ExportAsync(IExportOriginAsync, string, bool)
      • OnBatchExportedAsync(int, int)
    Back to top Generated by DocFX