KGy SOFT

ResXResourceWriter Constructor (Stream, FuncType, String)

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

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

public ResXResourceWriter(
	Stream stream,
	Func<Type, string> typeNameConverter = null
)

Parameters

stream
Type: System.IOStream
The Stream to send the 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
ArgumentNullExceptionstream 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