private QuestionStyleCollection GetQuestionStyles(StyleSheet styleSheet, QuestionForm form)
 {
     try
     {
         var runtimeController = new QLS.Runtime.RuntimeController();
         return(runtimeController.GetQuestionStyles(styleSheet, form));
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the evaluation of the question styles.", ex);
     }
 }
Ejemplo n.º 2
0
 private QuestionStyleCollection GetQuestionStyles(StyleSheet styleSheet, QuestionForm form)
 {
     try
     {
         var runtimeController = new QLS.Runtime.RuntimeController();
         return runtimeController.GetQuestionStyles(styleSheet, form);
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the evaluation of the question styles.", ex);
     }
 }
 private ValidationReport ValidateStyleSheet(StyleSheet styleSheet, QuestionForm form)
 {
     try
     {
         var runtimeController = new QLS.Runtime.RuntimeController();
         return(runtimeController.Validate(styleSheet, form));
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the validation of the style sheet AST.", ex);
     }
 }
Ejemplo n.º 4
0
 private ValidationReport ValidateStyleSheet(StyleSheet styleSheet, QuestionForm form)
 {
     try
     {
         var runtimeController = new QLS.Runtime.RuntimeController();
         return runtimeController.Validate(styleSheet, form);
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during the validation of the style sheet AST.", ex);
     }
 }