Search Results for

    Show / Hide Table of Contents

    Class TMXWriter

    Represents a writer for exporting translation units into the TMX format. The content is generated in TMX version 1.4.

    Inheritance
    System.Object
    TMXWriter
    Implements
    IEventReceiver
    System.IDisposable
    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.LanguagePlatform.IO.TMX
    Assembly: Sdl.LanguagePlatform.IO.dll
    Syntax
    public class TMXWriter : IEventReceiver, IDisposable

    Constructors

    TMXWriter(Stream)

    Initializes a new instance of the TMXWriter class with the specified output stream and UTF8 encoding.

    Declaration
    public TMXWriter(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    The output stream.

    TMXWriter(Stream, TMXWriterSettings)

    Initializes a new instance of the TMXWriter class with the specified output stream and encoding.

    Declaration
    public TMXWriter(Stream outStream, TMXWriterSettings writerSettings)
    Parameters
    Type Name Description
    System.IO.Stream outStream

    The output stream.

    TMXWriterSettings writerSettings

    The TMXWriterSettingsTMX writer settings to apply.

    TMXWriter(String)

    Initializes a new instance of the TMXWriter class with the specified file name and UTF8 encoding.

    Declaration
    public TMXWriter(string filename)
    Parameters
    Type Name Description
    System.String filename

    The file name.

    TMXWriter(String, TMXWriterSettings)

    Initializes a new instance of the TMXWriter class with the specified file name and encoding.

    Declaration
    public TMXWriter(string filename, TMXWriterSettings writerSettings)
    Parameters
    Type Name Description
    System.String filename

    The file name.

    TMXWriterSettings writerSettings

    The TMXWriterSettingsTMX writer settings to apply.

    Methods

    Close()

    Closes the underlying writer.

    Declaration
    public void Close()

    Dispose()

    Declaration
    public void Dispose()

    Emit(Event)

    Writes the specified event to the associated export writer.

    Declaration
    public void Emit(Event e)
    Parameters
    Type Name Description
    Event e

    The event.

    Implements

    IEventReceiver
    System.IDisposable

    On this page

    • Constructors
      • TMXWriter(Stream)
      • TMXWriter(Stream, TMXWriterSettings)
      • TMXWriter(String)
      • TMXWriter(String, TMXWriterSettings)
    • Methods
      • Close()
      • Dispose()
      • Emit(Event)
    • Implements
    Back to top Generated by DocFX