public NvdlValidateInterp(NvdlDispatcher dispatcher, SimpleMode createdMode, SimpleValidate validate, NvdlInterpretation parent) : base(dispatcher, createdMode, validate, parent) { this.reader = new NvdlFilteredXmlReader(dispatcher.Reader, this); this.validate = validate; validator = validate.CreateValidator(this.reader); dispatcher.Validator.OnMessage(validate.Messages); }
public NvdlValidateInterp (NvdlDispatcher dispatcher, SimpleMode createdMode, SimpleValidate validate, NvdlInterpretation parent) : base (dispatcher, createdMode, validate, parent) { NvdlDebug.Writer.WriteLine ("++++++ new validate " + validate.Location); this.reader = new NvdlFilteredXmlReader (dispatcher.Reader, this); this.validate = validate; validator = validate.CreateValidator (this.reader); dispatcher.Validator.OnMessage (validate.Messages); }