public override object VisitSection(Section section)
        {
            var dataTypeStyles = _currentDataTypeStyles.GetCopy();

            dataTypeStyles.OverrideStyles(section.DefaultStyles);

            var childStyleEvaluator = new QuestionStyleEvaluator(dataTypeStyles, _questionStyles, _questions);

            foreach (var questionRef in section.QuestionReferences)
            {
                questionRef.Accept(childStyleEvaluator);
            }

            return(null);
        }
        public override object VisitPage(Page page)
        {
            var dataTypeStyles = _currentDataTypeStyles.GetCopy();

            dataTypeStyles.OverrideStyles(page.DefaultStyles);

            var childStyleEvaluator = new QuestionStyleEvaluator(dataTypeStyles, _questionStyles, _questions);

            foreach (var section in page.Sections)
            {
                section.Accept(childStyleEvaluator);
            }

            return(null);
        }