IResourceServiceRegisterAssemblyResources Method |
Registers all resources that are directly included into the assembly given in the argument. See remarks for how the string resources are registered.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax void RegisterAssemblyResources(
Assembly assembly
)
Parameters
- assembly Assembly
- The assembly for which to register the resources.
Remarks
The name of a string resource is constructed from the namespace where the .resx file is located in, a dot, and the name of the resource in the .resx file.
Example: the .resx file is located namespace Altaxo.Main.Services. The string resource's key is Foo. Then this string resource is registered with the name Altaxo.Main.Services.Foo.
Image files directly included in the assembly have the name they are included with, but without extension.
See Also