Skip to main content

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

Interface IParameterBuilder

Represents a builder for configuring a parameter definition.

Inherited Members

IProcessDefinitionBuilder.CreateActor(string, string)

IProcessDefinitionBuilder.CreateOrUpdateActor(string, string)

IProcessDefinitionBuilder.UpdateActor(string)

IProcessDefinitionBuilder.DeleteActor(string)

IProcessDefinitionBuilder.CreateParameter(string, Type, ParameterPurpose)

IProcessDefinitionBuilder.CreateOrUpdateParameter(string, Type, ParameterPurpose)

IProcessDefinitionBuilder.UpdateParameter(string)

IProcessDefinitionBuilder.DeleteParameter(string)

IProcessDefinitionBuilder.CreateCommand(string)

IProcessDefinitionBuilder.CreateOrUpdateCommand(string)

IProcessDefinitionBuilder.UpdateCommand(string)

IProcessDefinitionBuilder.DeleteCommand(string)

IProcessDefinitionBuilder.CreateTimer(string)

IProcessDefinitionBuilder.CreateOrUpdateTimer(string)

IProcessDefinitionBuilder.UpdateTimer(string)

IProcessDefinitionBuilder.DeleteTimer(string)

IProcessDefinitionBuilder.CreateActivity(string)

IProcessDefinitionBuilder.AddActivity(ActivityDefinition)

IProcessDefinitionBuilder.CreateInlineActivity(string, string)

IProcessDefinitionBuilder.CreateOrUpdateActivity(string)

IProcessDefinitionBuilder.CreateOrUpdateInlineActivity(string, string)

IProcessDefinitionBuilder.UpdateActivity(string)

IProcessDefinitionBuilder.UpdateInlineActivity(string)

IProcessDefinitionBuilder.UpdateActivity(ActivityDefinition)

IProcessDefinitionBuilder.UpdateInlineActivity(ActivityDefinition)

IProcessDefinitionBuilder.DeleteActivity(string)

IProcessDefinitionBuilder.DeleteActivity(ActivityDefinition)

IProcessDefinitionBuilder.CreateTransition(string, ActivityDefinition, ActivityDefinition)

IProcessDefinitionBuilder.CreateOrUpdateTransition(string, ActivityDefinition, ActivityDefinition)

IProcessDefinitionBuilder.UpdateTransition(string)

IProcessDefinitionBuilder.UpdateTransition(TransitionDefinition)

IProcessDefinitionBuilder.DeleteTransition(string)

IProcessDefinitionBuilder.DeleteTransition(TransitionDefinition)

IProcessDefinitionBuilder.ForEachActivity(Action<IActivityBuilder>)

IProcessDefinitionBuilder.ForEachTransition(Action<ITransitionBuilder>)

IProcessDefinitionBuilder.Inlined()

IProcessDefinitionBuilder.NotInlined()

IProcessDefinitionBuilder.GetActivity(string, out ActivityDefinition)

IProcessDefinitionBuilder.GetTransition(string, out TransitionDefinition)

IProcessDefinitionBuilder.ProcessDefinition

Namespace: OptimaJet.Workflow.Core.Model.Builder

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public interface IParameterBuilder : IProcessDefinitionBuilder

Methods

Ref(out ParameterDefinition)

Assigns the current parameter definition to an output variable.

Declaration
IParameterBuilder Ref(out ParameterDefinition parameterDefinition)
Parameters
TypeNameDescription
ParameterDefinitionparameterDefinitionThe output variable to store the current parameter definition.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

Name(string)

Sets the name of the parameter.

Declaration
IParameterBuilder Name(string name)
Parameters
TypeNameDescription
stringnameThe name to assign to the parameter.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

Purpose(ParameterPurpose)

Sets the purpose of the parameter.

Declaration
IParameterBuilder Purpose(ParameterPurpose purpose)
Parameters
TypeNameDescription
ParameterPurposepurposeThe purpose to assign to the parameter.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

Type(Type)

Sets the type of the parameter.

Declaration
IParameterBuilder Type(Type type)
Parameters
TypeNameDescription
TypetypeThe type to assign to the parameter.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

InitialValue(string)

Sets the initial value of the parameter from a string.

Declaration
IParameterBuilder InitialValue(string initialValue)
Parameters
TypeNameDescription
stringinitialValueThe initial value to assign to the parameter.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

InitialValue(object)

Sets the initial value of the parameter from an object.

Declaration
IParameterBuilder InitialValue(object initialValue)
Parameters
TypeNameDescription
objectinitialValueThe initial value to assign to the parameter.
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

ClearInitialValue()

Clears the initial value of the parameter.

Declaration
IParameterBuilder ClearInitialValue()
Returns
TypeDescription
IParameterBuilderReturns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>.

Extension Methods