ResXResourceManager(Type) Constructor

Creates a new instance of ResXResourceManager class that looks up resources in resource XML files based on information from the specified type object.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public ResXResourceManager(
	Type resourceSource
)

Parameters

resourceSource  Type
A type from which the resource manager derives all information for finding resource files.

Remarks

The ResXResourceManager looks up resources in resourceSourceTypeName.cultureName.resx files, where resourceSourceTypeName.resx contains the resource set of the ultimate fallback culture (also known as default or invariant or neutral resources culture).

If the Assembly of resourceSource has a NeutralResourcesLanguageAttribute defined, then it will be used to determine the language of the fallback culture. If the Assembly of resourceSource does not define this attribute, then CultureInfo.InvariantCulture will be used as the default culture.

See Also