Skip to content

InteractionRequest<TResult>

Typed interaction request that declares the expected result type. Derive from this to define new interaction controls.

public abstract record InteractionRequest<TResult> : InteractionRequest, IEquatable<InteractionRequest>, IEquatable<InteractionRequest<TResult>>
  • TResult: The type returned by the interaction.
  • IEquatable<InteractionRequest>
  • IEquatable<InteractionRequest<TResult>>

Typed interaction request that declares the expected result type. Derive from this to define new interaction controls.

protected InteractionRequest(string Name, string Prompt)