Table of Contents

Class ResxWriter

Namespace
Tlumach.Writers
Assembly
Tlumach.Writers.dll

A writer for the .NET .resx XML format.

public class ResxWriter : BaseXmlWriter
Inheritance
ResxWriter
Inherited Members

Properties

ConfigExtension

Gets the extension of the configuration files of the format, with the leading dot (e.g., ".jsoncfg"), or an empty string if the writer does not write configuration files.

public override string ConfigExtension { get; }

Property Value

string

FormatName

Gets the name of the format (e.g., "JSON" or "RESX"), which is also used in error messages.

public override string FormatName { get; }

Property Value

string

TranslationExtension

Gets the extension of the translation files of the format, with the leading dot (e.g., ".json").

public override string TranslationExtension { get; }

Property Value

string

Methods

InternalWriteXmlTranslations(Translation, Stream)

Writes the translation as a file of the format.

protected override void InternalWriteXmlTranslations(Translation translation, Stream stream)

Parameters

translation Translation

The translation to write.

stream Stream

The stream to write the resulting file to.