ResXResourceReaderFromFileContents Method

Creates a new ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static ResXResourceReader FromFileContents(
	string fileContents,
	ITypeResolutionService? typeResolver = null
)

Parameters

fileContents  String
A string containing XML resource-formatted information.
typeResolver  ITypeResolutionService  (Optional)
An object that resolves type names specified in a resource. This parameter is optional.
Default value: .

Return Value

ResXResourceReader
A ResXResourceReader object that reads resources from the fileContents string.

See Also