Class QuestionnaireSession
Runs an interactive questionnaire in the TUI terminal, presenting each question in turn, collecting validated answers, showing a review/summary screen, and returning a completed AskQuestionsResult.
public sealed class QuestionnaireSession
- Inheritance
-
QuestionnaireSession
- Inherited Members
Methods
Run(AskQuestionsRequest)
Presents the questionnaire described by request and returns the result.
Returns a cancelled result when the user presses Esc (and AllowCancel is true)
or when there are no questions to answer.
public static AskQuestionsResult Run(AskQuestionsRequest request)
Parameters
requestAskQuestionsRequest