Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class Translation

OptimaJet.Workflow.Core.Model.Translation

Represent a localization record in a process scheme

public sealed class Translation

Inheritance

  • System.Object

Constructors

public Translation() #
public Translation(string name, string value, LocalizeType type, string culture, bool isDefault = false) #
Create Translation object

Parameters

Name
Type
Description
name
String
System name
value
String
Localized name
type
LocalizeType
Type of localized resource LocalizeType
culture
String
Culture name
isDefault
Boolean
If true specifies that the record will be used by default in case of absence of a record with specific culture

Properties

Name
Type
ObjectName #
String
System name
Value #
String
Localized name
Type #
LocalizeType
Type of localized resource LocalizeType
Culture #
String
Culture name
IsDefault #
Boolean
If true specifies that the record will be used by default in case of absence of a record with specific culture

Methods

public static Translation Create(string name, string type, string culture, string value, string isDefault) #
Create Translation object

Parameters

Name
Type
Description
name
String
System name
type
String
Type of localized resource LocalizeType
culture
String
Culture name
value
String
Localized name
isDefault
String
If true specifies that the record will be used by default in case of absence of a record with specific culture

Returns

Type
Description
Translation
Translation object
public static Translation Create(string name, LocalizeType type, string culture, string value, bool isDefault = false) #
Create Translation object

Parameters

Name
Type
Description
name
String
System name
type
LocalizeType
Type of localized resource LocalizeType
culture
String
Culture name
value
String
Localized name
isDefault
Boolean
If true specifies that the record will be used by default in case of absence of a record with specific culture

Returns

Type
Description
Translation
Translation object
public static Translation Create(string name, LocalizeType type, CultureInfo culture, string value, bool isDefault = false) #
Create Translation object

Parameters

Name
Type
Description
name
String
System name
type
LocalizeType
Type of localized resource LocalizeType
culture
CultureInfo
Culture name
value
String
Localized name
isDefault
Boolean
If true specifies that the record will be used by default in case of absence of a record with specific culture

Returns

Type
Description
Translation
Translation object
public Translation Clone() #

Returns

Type
Description
Translation