Skip to content
ConsoleMonster
Class

Question

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
static

Shared question construction; existing prompts own validation, rendering and input lifetimes.

Inheritance

  • object
  • Question

Methods

public static SelectionQuestion Select(SelectQuestionOptions options) #

Builds a scalar or multiple selection through the same validated definition as PowerShell.

Parameters

options ConsoleMonster.Interactive.SelectQuestionOptions required
public static Prompt<string> Text(TextQuestionOptions options) #

Builds ordinary, multiline or secret text from one definition.

Parameters

options ConsoleMonster.Interactive.TextQuestionOptions required