Esempio n. 1
0
        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);
        }
Esempio n. 2
0
		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);
		}