private ValidationReport ValidateQuestionForm(QuestionForm form)
 {
     try
     {
         var runtimeController = new QL.Runtime.RuntimeController();
         return(runtimeController.Validate(form));
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the validation of the questionnaire AST.", ex);
     }
 }
Example #2
0
 private ValidationReport ValidateQuestionForm(QuestionForm form)
 {
     try
     {
         var runtimeController = new QL.Runtime.RuntimeController();
         return runtimeController.Validate(form);
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the validation of the questionnaire AST.", ex);
     }
 }