InteractionRequest<TResult>
Typed interaction request that declares the expected result type. Derive from this to define new interaction controls.
- Kind:
Class - Namespace: Repl.Interaction
- Assembly:
Repl.Core - Source: src/Repl.Core/Interaction/InteractionRequest.cs
Signature
Section titled “Signature”public abstract record InteractionRequest<TResult> : InteractionRequest, IEquatable<InteractionRequest>, IEquatable<InteractionRequest<TResult>>Type Parameters
Section titled “Type Parameters”TResult: The type returned by the interaction.
Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<InteractionRequest>IEquatable<InteractionRequest<TResult>>
Derived Classes
Section titled “Derived Classes”- AskChoiceRequest
- AskConfirmationRequest
- AskMultiChoiceRequest
- AskSecretRequest
- AskTextRequest
- ClearScreenRequest
- WriteNoticeRequest
- WriteProblemRequest
- WriteProgressRequest
- WriteStatusRequest
- WriteWarningRequest
Constructors
Section titled “Constructors”InteractionRequest(string, string)
Section titled “InteractionRequest(string, string)”Typed interaction request that declares the expected result type. Derive from this to define new interaction controls.
protected InteractionRequest(string Name, string Prompt)