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<Int32, Int32, Task<Boolean>>)

    Declaration
    public ExporterAsync(ICultureMetadataManager cultureMetadataManager, Func<int, int, Task<bool>> batchExportedAsync = null)
    Parameters
    Type Name Description
    ICultureMetadataManager cultureMetadataManager
    Func<Int32, Int32, Task<Boolean>> 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, Boolean)

    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.

    Boolean overwriteExisting

    if set to true [overwrite existing].

    Returns
    Type Description
    Task

    OnBatchExportedAsync(Int32, Int32)

    Declaration
    protected virtual Task<bool> OnBatchExportedAsync(int totalProcessed, int totalExported)
    Parameters
    Type Name Description
    Int32 totalProcessed
    Int32 totalExported
    Returns
    Type Description
    Task<Boolean>
    In this article
    Back to top Generated by DocFX