System.Xml.Tests.TC_SchemaSet_Misc.Callback1 C# (CSharp) Méthode

Callback1() public méthode

public Callback1 ( object sender, ValidationEventArgs args ) : void
sender object
args System.Xml.Schema.ValidationEventArgs
Résultat void
        public void Callback1(object sender, ValidationEventArgs args)
        {
            if (args.Severity == XmlSeverityType.Warning)
            {
                _output.WriteLine("WARNING Recieved");
                bWarningCallback = true;
                warningCount++;
                CError.Compare(args.Exception.InnerException == null, false, "Inner Exception not set");
            }
        }