Struct QuestionnaireController.Answer
Holder for information for one answer.
Namespace: UI
Assembly: .dll
Syntax
public struct QuestionnaireController.Answer
Constructors
| Edit this page View SourceAnswer(string, string, bool)
Constructor for Answers.
Declaration
public Answer(string answer, string answerFeedback, bool answerCorrect)
Parameters
| Type | Name | Description |
|---|---|---|
| string | answer | Text of the answer. |
| string | answerFeedback | Text for feedback when the answer was taken. |
| bool | answerCorrect | True if the answer is right. |
Fields
| Edit this page View Sourceanswer
Text of the answer.
Declaration
public string answer
Field Value
| Type | Description |
|---|---|
| string | Set by constructor. |
answerCorrect
Is this answer right or wrong.
Declaration
public bool answerCorrect
Field Value
| Type | Description |
|---|---|
| bool | Set by constructor. |
answerFeedback
Text of the feedback.
Declaration
public string answerFeedback
Field Value
| Type | Description |
|---|---|
| string | Set by constructor. |