Skip to main content

Interface ILocalizationProvider

Namespace: OptimaJet.Workflow.Core.Runtime

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface ILocalizationProvider

Methods

Get(string, LocalizeType, CultureInfo)

Get the localized string.

Declaration
Translation? Get(string name, LocalizeType type, CultureInfo culture)
Parameters
TypeNameDescription
stringnameSystem name
LocalizeTypetypeLocalize type of name
CultureInfocultureCulture
Returns
TypeDescription
TranslationLocalized string if exists, else null

GetAll(string)

Get all localized strings for specific scheme. Used in the designer with predefined mark.

Declaration
List<Translation> GetAll(string schemeCode)
Parameters
TypeNameDescription
stringschemeCodeScheme code
Returns
TypeDescription
List<Translation>

Extension Methods