LocalizationHelperGetResourceBaseName(Assembly) Method

Gets the base name of the resource file for the specified assembly. That is, the name of the resource file without the culture name and the .resx extension.

Definition

Namespace: KGySoft.WinForms
Assembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
C#
public static string GetResourceBaseName(
	Assembly assembly
)

Parameters

assembly  Assembly
The assembly for which the resource base name is requested. This is usually the assembly of a project containing forms or user controls, whose DynamicStringLocalization property is set to AssemblyScope.

Return Value

String
The base name of the resource file for the specified assembly.

Remarks

You can use this method to retrieve the base name of resource files associated with a LocalizationContext with AssemblyScope.

See Also