Esempio n. 1
0
 /// <param name="theContext">the set of validation rules to be applied to messages parsed or
 /// encoded by this parser (defaults to ValidationContextFactory.DefaultValidation)
 /// </param>
 public virtual void  setValidationContext(ValidationContext theContext)
 {
     myContext   = theContext;
     myValidator = new MessageValidator(theContext, true);
 }
Esempio n. 2
0
		/// <param name="theContext">the set of validation rules to be applied to messages parsed or 
		/// encoded by this parser (defaults to ValidationContextFactory.DefaultValidation)
		/// </param>
		public virtual void  setValidationContext(ValidationContext theContext)
		{
			myContext = theContext;
			myValidator = new MessageValidator(theContext, true);
		}