Secret<T>(TextPrompt<T>) Method
Replaces prompt user input with asterisks in the console.
public static TextPrompt<T> Secret<T>(this TextPrompt<T> obj)
- Namespace
- Spectre
.Console - Containing Type
- TextPromptExtensions
Parameters
-
T
- The prompt type.
Parameters
-
TextPrompt
<T> obj - The prompt.