KGy SOFT

ResXResourceWriter Constructor (TextWriter, FuncType, String)

KGy SOFT Core Libraries Help
Initializes a new instance of the ResXResourceWriter class that writes the resources by a specified textWriter.

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public ResXResourceWriter(
	TextWriter textWriter,
	Func<Type, string> typeNameConverter = null
)

Parameters

textWriter
Type: System.IOTextWriter
The TextWriter object to send output to.
typeNameConverter (Optional)
Type: SystemFuncType, String
A delegate that can be used to specify type names explicitly (eg. to target earlier versions of assemblies or the .NET Framework). This parameter is optional.
Default value: .
Exceptions

ExceptionCondition
ArgumentNullExceptiontextWriter is .
Remarks

If typeNameConverter is specified it can be used to dump custom type names for any type. If it returns  for a Type, then the default name will be used. To deserialize a .resx content with custom type names the ResXResourceReader constructors should be called with a non- ITypeResolutionService instance.
See Also

Reference