Assembly: OptimaJet.Workflow.Core

Interface ILocalizationProvider

OptimaJet.Workflow.Core.Runtime.ILocalizationProvider

Provides access to localized text resources used by workflow runtime and designer logic.

public interface ILocalizationProvider

Type Hierarchy

  • ILocalizationProvider Current type

Methods

Translation? Get(string name, LocalizeType type, CultureInfo culture) #
Gets a translation for the specified system name and localization type.

Parameters

Name
Type
Description
name
String
System name of the localized item.
type
LocalizeType
Localization type of the item.
culture
CultureInfo
Culture to use for the lookup.

Returns

Type
Description
Translation
A 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
schemeCode
String
The 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.