Search Results for

    Show / Hide Table of Contents

    Class Exporter

    Inheritance
    System.Object
    Exporter
    TranslationMemoryExporter
    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()
    Namespace: Sdl.Core.TM.ImportExport
    Assembly: Sdl.Core.TM.ImportExport.dll
    Syntax
    public class Exporter

    Constructors

    Exporter()

    Declaration
    [Obsolete("Use version providing ICultureMetadataManager")]
    public Exporter()

    Exporter(ICultureMetadataManager)

    Declaration
    public Exporter(ICultureMetadataManager cultureMetadataManager)
    Parameters
    Type Name Description
    Sdl.Core.Globalization.CultureMetadataManager.ICultureMetadataManager cultureMetadataManager

    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

    Export(IExportOrigin, 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 void Export(IExportOrigin exportOrigin, string fileName, bool overwriteExisting)
    Parameters
    Type Name Description
    IExportOrigin exportOrigin
    System.String fileName

    Name of the file.

    System.Boolean overwriteExisting

    if set to true [overwrite existing].

    ExportAsync(IExportOriginAsync, String, Boolean)

    See Export(IExportOrigin, String, Boolean)

    Declaration
    public Task ExportAsync(IExportOriginAsync exportOrigin, string fileName, bool overwriteExisting)
    Parameters
    Type Name Description
    IExportOriginAsync exportOrigin
    System.String fileName
    System.Boolean overwriteExisting
    Returns
    Type Description
    System.Threading.Tasks.Task
    Exceptions
    Type Condition
    System.ArgumentNullException
    System.InvalidOperationException

    Events

    BatchExported

    Occurs when ever a batch is imported, set Cancel = True to stop the export.

    Declaration
    public event EventHandler<BatchExportedEventArgs> BatchExported
    Event Type
    Type Description
    System.EventHandler<BatchExportedEventArgs>

    On this page

    Back to top Generated by DocFX