Skip to content
ConsoleMonster
Class

DialogResult<T>

ConsoleMonster.Interactive

Namespace
ConsoleMonster.Interactive
Assembly
ConsoleMonster
Modifiers
sealed

The typed outcome of a modal form. Value is supplied only when Accepted is true.

Inheritance

  • object
  • DialogResult<T>

Usage

Explore 1 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 1

Type Parameters

T

Properties

public bool Accepted { get; } #

Whether the user accepted the form.

public T? Value { get; } #

The typed accepted value, or default after cancellation.