コード例 #1
0
 public OpenQuestionSingleAns(
     string question,
     string answer,
     IAnswerConfigurator options
     )
     : base(question, options)
 {
     ValidAnswer = options.ConfigureAnswer(answer);
 }
コード例 #2
0
 public OpenQuestionKeyWord(
     string question,
     IList <string> keywords,
     int minimumMatch,
     IAnswerConfigurator options
     )
     : base(question, options)
 {
     this.KeyWords = keywords
                     .Select(phrase =>
                             this.Configurator.ConfigureAnswer(phrase)
                             )
                     .ToList();
     this.MinimumMatch = minimumMatch;
 }
コード例 #3
0
ファイル: OpenQuestion.cs プロジェクト: alexverdias/ExamBack
 public OpenQuestion(string question, IAnswerConfigurator configurator)
 {
     this.Question     = question;
     this.Configurator = configurator;
 }