Antura  1.1.0
Antura.Teacher.QuestionPackData Class Reference

Holds a single question pack as seen by the Teacher. (i.e. a question and its correct / wrong answers). More...

Public Member Functions

override string ToString ()
 

Static Public Member Functions

static QuestionPackData CreateFromCorrect< T1 > (IConvertibleToLivingLetterData question, List< T1 > correctAnswers)
 
static QuestionPackData CreateFromWrong< T2 > (IConvertibleToLivingLetterData question, List< T2 > wrongAnswers)
 
static QuestionPackData Create< T > (IConvertibleToLivingLetterData question, List< T > correctAnswers, List< T > wrongAnswers)
 
static QuestionPackData Create< T1, T2 > (List< T1 > questions, List< T2 > correctAnswers, List< T2 > wrongAnswers)
 

Public Attributes

IConvertibleToLivingLetterData question
 
List< IConvertibleToLivingLetterDataquestions
 
List< IConvertibleToLivingLetterDatacorrectAnswers
 
List< IConvertibleToLivingLetterDatawrongAnswers
 

Detailed Description

Holds a single question pack as seen by the Teacher. (i.e. a question and its correct / wrong answers).

Member Function Documentation

◆ Create< T >()

static QuestionPackData Antura.Teacher.QuestionPackData.Create< T > ( IConvertibleToLivingLetterData  question,
List< T >  correctAnswers,
List< T >  wrongAnswers 
)
static
Type Constraints
T :IConvertibleToLivingLetterData 

◆ Create< T1, T2 >()

static QuestionPackData Antura.Teacher.QuestionPackData.Create< T1, T2 > ( List< T1 >  questions,
List< T2 >  correctAnswers,
List< T2 >  wrongAnswers 
)
static
Type Constraints
T1 :IConvertibleToLivingLetterData 
T2 :IConvertibleToLivingLetterData 

◆ CreateFromCorrect< T1 >()

static QuestionPackData Antura.Teacher.QuestionPackData.CreateFromCorrect< T1 > ( IConvertibleToLivingLetterData  question,
List< T1 >  correctAnswers 
)
static
Type Constraints
T1 :IConvertibleToLivingLetterData 

◆ CreateFromWrong< T2 >()

static QuestionPackData Antura.Teacher.QuestionPackData.CreateFromWrong< T2 > ( IConvertibleToLivingLetterData  question,
List< T2 >  wrongAnswers 
)
static
Type Constraints
T2 :IConvertibleToLivingLetterData 

◆ ToString()

override string Antura.Teacher.QuestionPackData.ToString ( )

Member Data Documentation

◆ correctAnswers

List<IConvertibleToLivingLetterData> Antura.Teacher.QuestionPackData.correctAnswers

◆ question

IConvertibleToLivingLetterData Antura.Teacher.QuestionPackData.question

◆ questions

List<IConvertibleToLivingLetterData> Antura.Teacher.QuestionPackData.questions

◆ wrongAnswers

List<IConvertibleToLivingLetterData> Antura.Teacher.QuestionPackData.wrongAnswers

The documentation for this class was generated from the following file: