IPrompt<T> Interface
Represents a prompt.
public interface IPrompt<T>
- Namespace
- Spectre
.Console - Implementing Types
Parameters
-
T
- The prompt result type.
Methods
-
abstract T Show
(IAnsiConsole) - Shows the prompt.
-
abstract Task<T> ShowAsync
(IAnsiConsole, CancellationToken) - Shows the prompt asynchronously.