Interface IResourceManager
Interface used in DI constructs to make Resource Manager accessible
Namespace: SuperOffice.Globalization
Assembly: SoCore.dll
Syntax
public interface IResourceManager
Methods
GetString(string, string)
Get the translated string for a resource
Declaration
string GetString(string resourceName, string culturename)
Parameters
| Type | Name | Description |
|---|---|---|
| string | resourceName | Name of resource; see the RC class for generated symbol constants |
| string | culturename | Name of culture, such as 'nb-no'; or leave empty to get the current culture as set by middleware |
Returns
| Type | Description |
|---|---|
| string | Translated string, if known |