Table of Contents

Class ManualBoolInput

Namespace
Invex.Atom.Workflows.Definition.Triggers
Assembly
Invex.Atom.Workflows.dll

Represents a manually-triggered workflow input that accepts a boolean value.

public sealed record ManualBoolInput : ManualInput
Inheritance
object
ManualBoolInput
Inherited Members

Constructors

ManualBoolInput(string, string, bool?, bool?)

Represents a manually-triggered workflow input that accepts a boolean value.

public ManualBoolInput(string Name, string Description, bool? Required, bool? DefaultValue = null)

Parameters

Name string

The name of the input parameter.

Description string

A human-readable description of the input parameter.

Required bool?

A value indicating whether this input parameter must be provided.

DefaultValue bool?

The default value for the input parameter if no value is explicitly provided.

Properties

DefaultValue

The default value for the input parameter if no value is explicitly provided.

public bool? DefaultValue { get; init; }

Property Value

bool?

Methods

ForParam(ParamDefinition, bool?, bool?)

Creates a new ManualBoolInput instance from a ParamDefinition.

public static ManualBoolInput ForParam(ParamDefinition paramDefinition, bool? required = null, bool? defaultValue = null)

Parameters

paramDefinition ParamDefinition

The parameter definition to create the input from.

required bool?

Overrides the required status. If null, the required status is inferred from the parameter's default value.

defaultValue bool?

Overrides the default value. If null, the default value is inferred from the parameter.

Returns

ManualBoolInput

A new ManualBoolInput instance.