IInteractionService
Interface net10.0
A service to interact with the current development environment.
namespace Aspire.Hosting;
public interface IInteractionService{ // ...} 7 members
Properties1
Section titled PropertiesMethods6
Section titled MethodsPromptConfirmationAsync(string, string, MessageBoxInteractionOptions?, CancellationToken)abstractTask<InteractionResult<bool>> Prompts the user for confirmation with a dialog.
PromptInputAsync(string, string?, string, string, InputsDialogInteractionOptions?, CancellationToken)abstractTask<InteractionResult<InteractionInput>> Prompts the user for a single text input.
PromptInputAsync(string, string?, InteractionInput, InputsDialogInteractionOptions?, CancellationToken)abstractTask<InteractionResult<InteractionInput>> Prompts the user for a single input using a specified
InteractionInput. PromptInputsAsync(string, string?, IReadOnlyList<InteractionInput>, InputsDialogInteractionOptions?, CancellationToken)abstractTask<InteractionResult<InteractionInputCollection>> Prompts the user for multiple inputs.
PromptMessageBoxAsync(string, string, MessageBoxInteractionOptions?, CancellationToken)abstractTask<InteractionResult<bool>> Prompts the user with a message box dialog.
PromptNotificationAsync(string, string, NotificationInteractionOptions?, CancellationToken)abstractTask<InteractionResult<bool>> Prompts the user with a notification.