System.Xml.Tests.TCValidateEndOfAttributes.CallAfterValidationOfAllAttributes C# (CSharp) Method

CallAfterValidationOfAllAttributes() private method

private CallAfterValidationOfAllAttributes ( ) : void
return void
        public void CallAfterValidationOfAllAttributes()
        {
            XmlSchemaValidator val = CreateValidator(XSDFILE_VALIDATE_ATTRIBUTE);

            val.Initialize();
            val.ValidateElement("MixedAttributesElement", "", null);
            foreach (string attr in new string[] { "req1", "req2", "def1", "def2" })
                val.ValidateAttribute(attr, "", StringGetter("foo"), null);
            val.ValidateEndOfAttributes(null);

            return;
        }