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
filePathstringThe path to the ResX file to read.
optionsResXOptionOptions controlling the read behavior.
Returns
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
filePathstringThe path to the ResX file to write.
entriesIEnumerable<ResXEntry>The collection of resource entries to write.
optionsResXOptionOptions controlling the write behavior.