Search Results for

    Show / Hide Table of Contents

    Struct QuestionnaireController.Answer

    Holder for information for one answer.

    Namespace: UI
    Assembly: Assembly-CSharp.dll
    Syntax
    public struct Answer

    Constructors

    | Improve this Doc View Source

    Answer(String, String, Boolean)

    Constructor for Answers.

    Declaration
    public Answer(string answer, string answerFeedback, bool answerCorrect)
    Parameters
    Type Name Description
    System.String answer

    Text of the answer.

    System.String answerFeedback

    Text for feedback when the answer was taken.

    System.Boolean answerCorrect

    True if the answer is right.

    Fields

    | Improve this Doc View Source

    answer

    Text of the answer.

    Declaration
    public string answer
    Field Value
    Type Description
    System.String

    Set by constructor.

    | Improve this Doc View Source

    answerCorrect

    Is this answer right or wrong.

    Declaration
    public bool answerCorrect
    Field Value
    Type Description
    System.Boolean

    Set by constructor.

    | Improve this Doc View Source

    answerFeedback

    Text of the feedback.

    Declaration
    public string answerFeedback
    Field Value
    Type Description
    System.String

    Set by constructor.

    • Improve this Doc
    • View Source
    In This Article
    Back to top TrainAR Documentation