TerminalInteractionOptions
Classnet10.0
Options for displaying a caller-owned terminal in an interaction dialog.
namespace Aspire.Hosting;
public class TerminalInteractionOptions : Aspire.Hosting.InteractionOptions{ // ...}Remarks
Section titled Remarks Set
InteractionOptions.PrimaryButtonText to show a cancel button; by default there is no button. Secondary and dismiss buttons are not shown. The terminal's lifetime is independent of these options. Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesWorkget; setFunc<TerminalContext, Task> Gets or sets optional asynchronous work to run while the terminal dialog is displayed.