Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

InputType

Enumnet10.0
📦 Aspire.Hosting v13.5.4
Specifies the type of input for an InteractionInput.
namespace Aspire.Hosting;
public enum InputType
Text= 0
A single-line text input.
SecretText= 1
A secure text input.
Choice= 2
A choice input. Selects from a list of options.
Boolean= 3
A boolean input.
Number= 4
A numeric input.
File= 5
A file input. Allows the user to select a file using the OS/browser file picker.