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
Syntaxpublic interface IParameterBuilder : IProcessDefinitionBuilder
Methods
Ref(out ParameterDefinition)
Assigns the current parameter definition to an output variable.
DeclarationIParameterBuilder Ref(out ParameterDefinition parameterDefinition)
Type | Name | Description |
---|---|---|
ParameterDefinition | parameterDefinition | The output variable to store the current parameter definition. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder Name(string name)
Type | Name | Description |
---|---|---|
string | name | The name to assign to the parameter. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder Purpose(ParameterPurpose purpose)
Type | Name | Description |
---|---|---|
ParameterPurpose | purpose | The purpose to assign to the parameter. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder Type(Type type)
Type | Name | Description |
---|---|---|
Type | type | The type to assign to the parameter. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder InitialValue(string initialValue)
Type | Name | Description |
---|---|---|
string | initialValue | The initial value to assign to the parameter. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder InitialValue(object initialValue)
Type | Name | Description |
---|---|---|
object | initialValue | The initial value to assign to the parameter. |
Type | Description |
---|---|
IParameterBuilder | Returns 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.
DeclarationIParameterBuilder ClearInitialValue()
Type | Description |
---|---|
IParameterBuilder | Returns the current instance of <xref href="OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder" data-throw-if-not-resolved="false"></xref>. |