Skip to content
DocsTry Aspire
DocsTry

promptInput

Method
📦 Aspire.Hosting v13.5.0
interface IInteractionService {
// ... omitted for brevity
promptInput(
title: string,
message: string,
input: InteractionInputBuilder,
options?: InteractionInputsDialogOptions,
cancellationToken?: cancellationToken): InputInteractionResult;
}

Signature

methodpromptInput
Prompts the user for a single input.
promptInput(
title: string,
message: string,
input: InteractionInputBuilder,
options?: InteractionInputsDialogOptions,
cancellationToken?: cancellationToken): InputInteractionResult
titlestring
messagestring
inputInteractionInputBuilder
optionsInteractionInputsDialogOptionsoptional
cancellationTokencancellationTokenoptional
InputInteractionResult

Applies to

This method applies to the following types: