Table of Contents

Class ResXFile

Namespace
SunamoXliffParser.fmdev.ResX
Assembly
SunamoXliffParser.dll

Provides methods for reading and writing ResX resource files.

public static class ResXFile
Inheritance
ResXFile
Inherited Members

Methods

Read(string, ResXOption)

Reads all entries from the specified ResX file.

public static List<ResXEntry> Read(string filePath, ResXOption options = ResXOption.None)

Parameters

filePath string

The path to the ResX file to read.

options ResXOption

Options controlling the read behavior.

Returns

List<ResXEntry>

A list of resource entries read from the file.

Write(string, IEnumerable<ResXEntry>, ResXOption)

Writes the specified entries to a ResX file.

public static void Write(string filePath, IEnumerable<ResXEntry> entries, ResXOption options = ResXOption.None)

Parameters

filePath string

The path to the ResX file to write.

entries IEnumerable<ResXEntry>

The collection of resource entries to write.

options ResXOption

Options controlling the write behavior.