public OpenQuestionSingleAns( string question, string answer, IAnswerConfigurator options ) : base(question, options) { ValidAnswer = options.ConfigureAnswer(answer); }
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; }
public OpenQuestion(string question, IAnswerConfigurator configurator) { this.Question = question; this.Configurator = configurator; }