Skip to content
ConsoleMonster
Class

AppDialogs

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
sealed

Modal form service attached to one application run. Dialog callbacks execute on the owning app thread.

Inheritance

  • object
  • AppDialogs

Usage

Explore 3 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.

Returned or exposed by 1

Accepted by parameters 2

Constructors

public AppDialogs() #

Methods

public void Show<T>(FormDialog<T?> dialog, Action<DialogResult<T?>> completed) #

Opens a typed form; cancellation produces Accepted=false without evaluating the result.

Type Parameters

T

Parameters

dialog ConsoleMonster.Interactive.FormDialog<T?> required
completed System.Action<ConsoleMonster.Interactive.DialogResult<T?>> required

Properties

public bool Open { get; } #

Whether this app currently has a modal input scope.