public void AddAnswerValidator(BaseValidator validator)
        {
            int questionIndex = GetLastQuestionIndex();

            Questions[questionIndex].Answer.AddValidator(validator);
        }
Example #2
0
 public void AddValidator(BaseValidator validator)
 {
     validators.Add(validator);
 }