Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class ParameterMapping

Represents a parameter mapping for an inline activity.

Inheritance

↳ object

    ↳ ParameterMapping

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.Execution

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class ParameterMapping

Constructors

ParameterMapping(string, string, ParameterPurpose)

Represents a parameter mapping for an inline activity.

Declaration
public ParameterMapping(string target, string expression, ParameterPurpose purpose = ParameterPurpose.Temporary)
Parameters
TypeNameDescription
stringtargetThe name of the target parameter that the provided value expression will assign to.
stringexpressionA value expression that will be used to assign a value to the target parameter.
ParameterPurposepurposeSpecifies the purpose of the parameter if not defined in the scheme.
Defaults to <xref href="OptimaJet.Workflow.Core.Model.ParameterPurpose.Temporary" data-throw-if-not-resolved="false"></xref>.

Properties

Target

The name of the target parameter that the provided value expression will assign to.

Declaration
public string Target { get; }
Property value
TypeDescription
string

Expression

A value expression that will be used to assign a value to the target parameter.

Declaration
public string Expression { get; }
Property value
TypeDescription
string

Purpose

Specifies the purpose of the parameter if not defined in the scheme. Defaults to ParameterPurpose.Temporary.

Declaration
[JsonConverter(typeof(StringEnumConverter))]
public ParameterPurpose Purpose { get; }
Property value
TypeDescription
ParameterPurpose

Extension Methods