IInteractionService
Interfacenet10.0
A service to interact with the current development environment.
namespace Aspire.Hosting;
public interface IInteractionService{ // ...}8 members
Properties1
Section titled Propertiesbool Gets a value indicating whether the interaction service is available. If
false, this service is not available to interact with the user and service methods will throw an exception. Methods7
Section titled MethodsTask<InteractionResult<bool>> Prompts the user for confirmation with a dialog.
Task<InteractionResult<InteractionInput>> Prompts the user for a single text input.
Task<InteractionResult<InteractionInput>> Prompts the user for a single input using a specified
InteractionInput. Task<InteractionResult<InteractionInputCollection>> Prompts the user for multiple inputs.
Task<InteractionResult<bool>> Prompts the user with a message box dialog.
Task<InteractionResult<bool>> Prompts the user with a notification.
Task<InteractionResult<bool>> Displays a progress dialog with an indeterminate progress indicator.