Class ChoiceQuestion
A question that selects between named alternatives.
public sealed class ChoiceQuestion : Question
- Inheritance
-
ChoiceQuestion
- Inherited Members
Constructors
ChoiceQuestion(object?, IReadOnlyDictionary<string, object?>, bool)
Create a Choice question.
public ChoiceQuestion(object? instructions, IReadOnlyDictionary<string, object?> criteria, bool includeInstructions = true)
Parameters
instructionsobjectcriteriaIReadOnlyDictionary<string, object>includeInstructionsbool
Properties
Criteria
Labels mapped to descriptions, or null for undescribed labels.
public IReadOnlyDictionary<string, object?> Criteria { get; }
Property Value
Type
Question type: noul, choice, or score.
public override string Type { get; }