Interface ILocalizationProvider
OptimaJet.Workflow.Core.Runtime.ILocalizationProvider
Provides access to localized text resources used by workflow runtime and designer logic.
Namespace: OptimaJet.Workflow.Core.Runtime
public interface ILocalizationProviderType Hierarchy
- ILocalizationProvider Current type
- Implementing types
Methods
Translation? Get(string name, LocalizeType type, CultureInfo culture) #Gets a translation for the specified system name and localization type.
Parameters
Name
Type
Description
nameStringSystem name of the localized item.
typeLocalizeTypeLocalization type of the item.
cultureCultureInfoCulture to use for the lookup.
Returns
Type
Description
TranslationA Translation instance when a matching localization is available; otherwise, null.
List<Translation> GetAll(string schemeCode) #Gets translations exposed as predefined localization values in the Workflow Designer for the specified scheme code.
Parameters
Name
Type
Description
schemeCodeStringThe code of the scheme whose predefined translations are requested.
Returns
Type
Description
List<Translation>A list with all translations provided for the requested scheme code. The list can be empty.