Class ManualStringInput
- Namespace
- Invex.Atom.Workflows.Definition.Triggers
- Assembly
- Invex.Atom.Workflows.dll
Represents a manually provided string input for a workflow.
public sealed record ManualStringInput : ManualInput
- Inheritance
-
objectManualStringInput
- Inherited Members
Constructors
ManualStringInput(string, string, bool?, string?)
Represents a manually provided string input for a workflow.
public ManualStringInput(string Name, string Description, bool? Required, string? DefaultValue = null)
Parameters
NamestringThe programmatic name or identifier for the input.
DescriptionstringA human-readable description of the input.
Requiredbool?A flag indicating whether this input must be provided by the user.
DefaultValuestringAn optional default value for the string input.
Properties
DefaultValue
An optional default value for the string input.
public string? DefaultValue { get; init; }
Property Value
- string
Methods
ForParam(ParamDefinition, bool?, string?)
Creates a ManualStringInput instance based on a ParamDefinition.
public static ManualStringInput ForParam(ParamDefinition paramDefinition, bool? required = null, string? defaultValue = null)
Parameters
paramDefinitionParamDefinitionThe parameter definition to base the input on.
requiredbool?An optional override for the required status.
defaultValuestringAn optional override for the default value.
Returns
- ManualStringInput
A new instance of ManualStringInput.