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 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); } }
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); } }