/// <summary> /// Initializes a new instance of the <see cref="XmlStructureParser" /> class. /// </summary> /// <param name="rucmRuleValidator">The rule validator is passed in the constructor</param> public XmlStructureParser(IRucmRuleValidator rucmRuleValidator) { this.InitXmlParser(); this.useCaseFile = null; this.useCaseFilePath = string.Empty; this.rucmRuleValidator = rucmRuleValidator; }
/// <summary> /// Initializes a new instance of the <see cref="Controller"/> class. /// </summary> public Controller() { this.ruleValidator = new RucmRuleValidator(RucmRuleRepository.Rules); this.xmlParser = new XmlStructureParser(this.ruleValidator); }