Table of Contents

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
object
ManualStringInput
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

Name string

The programmatic name or identifier for the input.

Description string

A human-readable description of the input.

Required bool?

A flag indicating whether this input must be provided by the user.

DefaultValue string

An 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

paramDefinition ParamDefinition

The parameter definition to base the input on.

required bool?

An optional override for the required status.

defaultValue string

An optional override for the default value.

Returns

ManualStringInput

A new instance of ManualStringInput.