Interface IUnfilteredResourceProvider
Interface for raw resource string providers classes Resource providers that need to return a dictionary of all resource strings should implement this.
Namespace: SuperOffice.Globalization
Assembly: SuperOffice.Plugins.dll
Syntax
public interface IUnfilteredResourceProvider
Methods
GetUnfilteredResourceForCulture(string, string)
Returns the unfiltered string from this provider in the specified culture
Declaration
string GetUnfilteredResourceForCulture(string name, string cultureName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the resource/resource symbol |
| string | cultureName | The name of the culture in the form en-US, nb-NO |
Returns
| Type | Description |
|---|---|
| string | The unfiltered resource string, or null if not found |
GetUnfilteredResourcesForCulture(string)
Returns all unfiltered resource strings for the specified culture as a dictionary
Declaration
Dictionary<string, string> GetUnfilteredResourcesForCulture(string cultureName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | cultureName | The name of the culture in the form en-US, nb-NO |
Returns
| Type | Description |
|---|---|
| Dictionary<string, string> | Dictionary of all resource labels and unfiltered strings |