public QuestionSet(string basePath)
        {
            Generators = new Dictionary <string, IQuestionGenerator>();

            _xmlImporter     = new XMLImporter(basePath);
            _textResolver    = new TextResolver();
            _layoutConverter = new LayoutConverter();
        }
Ejemplo n.º 2
0
 public QuestionGenerator(XMLImporter xmlImporter, TextResolver textResolver, LayoutConverter layoutConverter)
 {
     _xmlImporter     = xmlImporter;
     _textResolver    = textResolver;
     _layoutConverter = layoutConverter;
 }
 public NonRandomQuestionGenerator(string xmlTemplateReference, XMLImporter xmlImporter, TextResolver textResolver, LayoutConverter layoutConverter) : base(xmlImporter, textResolver, layoutConverter)
 {
     XMLTemplateReference = xmlTemplateReference;
 }