VECTO Input Manager
Loading...
Searching...
No Matches
VectoInputManager.Core.PromptAction Class Reference

Represents a prompt input during the object building process. Contains information about what to ask, what type of answer is expected, and stores the result. More...

Properties

required string Property [get, set]
 Gets or sets the property path in dot notation (e.g., "Components.Engine.MaxPower"). Used to identify where in the object hierarchy this prompt applies.
required string Query [get, set]
 Gets or sets the human-readable question text to display to the user.
required PromptActionType Type [get, set]
 Gets or sets the expected data type of the answer.
required int Depth [get, set]
 Gets or sets the nesting depth of this property in the object hierarchy. Used for indentation or organizing prompts.
required bool Optional [get, set]
 Gets or sets whether this property is optional (can be null or skipped).
object? TemplateValue [get, set]
 Gets or sets the default/template value from a template object. This can be used to pre-populate the answer or show a suggested value.
IDictionary< string, string >? Selection [get, set]
 Gets or sets the available options for Enum, Class, or Collection types. Key is the actual value, Value is the human-readable display text.
RangeAttribute? Range [get, set]
 Gets or sets the valid range for numeric input (Integer or Decimal types).
object? Answer [get, set]
 Gets or sets the user's answer/response to this prompt. Populated by the prompt handler after user interaction.

Detailed Description

Represents a prompt input during the object building process. Contains information about what to ask, what type of answer is expected, and stores the result.


The documentation for this class was generated from the following file:
  • VectoInputManagerCore/Builders/PromptAction.cs