public ValueInputQuestion(string questionDescription, string questionAsset, string correctAnswer, string answerDescription, List <string> questionchoices, double questionGrade, QuizHelper.QuestionDifficulty questionDifficulty, QuizHelper.InputValueType inputtype ) : base(questionDescription, questionAsset, correctAnswer, answerDescription, questionchoices, questionGrade, questionDifficulty) { InputType = inputtype; // QuestionAltenativesDescription += $"_____________"; }
public QuestionForms(Question aQuestion, QuizHelper.InputValueType inputvaluetype) { aTrueFalseQuestion = new TrueFalseQuestion(aQuestion.Description, aQuestion.Asset, aQuestion.Answer, aQuestion.AnswerExplanation, aQuestion.Choices, aQuestion.Grades, aQuestion.Difficulty); aMultipleChoiceQuestion = new MultipleChoiceQuestion(aQuestion.Description, aQuestion.Asset, aQuestion.Answer, aQuestion.AnswerExplanation, aQuestion.Choices, aQuestion.Grades, aQuestion.Difficulty); aValueInputQuestion = new ValueInputQuestion(aQuestion.Description, aQuestion.Asset, aQuestion.Answer, aQuestion.AnswerExplanation, aQuestion.Choices, aQuestion.Grades, aQuestion.Difficulty, inputvaluetype); questions = new List <Question>() { aTrueFalseQuestion, aMultipleChoiceQuestion, aValueInputQuestion, }; }