Skip to content
ConsoleMonster
Enum

InteractionMode

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

How prompts, menus and forms talk to the user.

Inheritance

  • Enum
  • InteractionMode

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Values

public const InteractionMode Rich #

Raw keys and in-place redraws: filtering lists, focus bars, the app shell.

Value: 0
public const InteractionMode Line #

Line-based prompts: a question, then a typed answer. Used where raw keys or redraws are unavailable (PowerShell remoting, the ISE, consoles without VT).

Value: 1
public const InteractionMode Accessible #

Sequential plain prompts for screen readers and braille displays: numbered choices, no redraws, every state written as text (CONSOLEMONSTER_ACCESSIBLE=1).

Value: 2
public const InteractionMode None #

No user is there to answer (CI, redirected input, -NonInteractive): prompts return their default or fail with a clear message.

Value: 3
public const InteractionMode Snapshot #

Render an initialized application or PowerShell prompt without reading input. A typed prompt's answer-returning Show method cannot return a snapshot; use its Snapshot method.

Value: 4