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 : IPlugin
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 |
Extension Methods
EnumUtil.MapEnums<From, To>(From)