Interface IParameterBuilder
OptimaJet.Workflow.Core.Model.Builder.IParameterBuilder
Represents a builder for configuring a parameter definition.
Namespace: OptimaJet.Workflow.Core.Model.Builder
public interface IParameterBuilder : IProcessDefinitionBuilderMethods
IParameterBuilder Ref(out ParameterDefinition parameterDefinition) #Assigns the current parameter definition to an output variable.
Parameters
Name
Type
Description
parameterDefinitionParameterDefinitionThe output variable to store the current parameter definition.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder Name(string name) #Sets the name of the parameter.
Parameters
Name
Type
Description
nameStringThe name to assign to the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder Purpose(ParameterPurpose purpose) #Sets the purpose of the parameter.
Parameters
Name
Type
Description
purposeParameterPurposeThe purpose to assign to the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder Type(Type type) #Sets the type of the parameter.
Parameters
Name
Type
Description
typeTypeThe type to assign to the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder InitialValue(string initialValue) #Sets the initial value of the parameter from a string.
Parameters
Name
Type
Description
initialValueStringThe initial value to assign to the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder InitialValue(object initialValue) #Sets the initial value of the parameter from an object.
Parameters
Name
Type
Description
initialValueObjectThe initial value to assign to the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.
IParameterBuilder ClearInitialValue() #Clears the initial value of the parameter.
Returns
Type
Description
IParameterBuilderReturns the current instance of IParameterBuilder.