80 references to ValidationEventHandler
netstandard (1)
netstandard.cs (1)
2295[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.ValidationEventHandler))]
System.Private.Xml (63)
System\Xml\Core\XmlReaderSettings.cs (3)
32private ValidationEventHandler? _valEventHandler; 285public event ValidationEventHandler ValidationEventHandler 314internal ValidationEventHandler? GetEventHandler()
System\Xml\Core\XmlValidatingReader.cs (1)
284public event ValidationEventHandler ValidationEventHandler
System\Xml\Core\XmlValidatingReaderImpl.cs (5)
39private ValidationEventHandler? _eventHandler; 68internal void AddHandler(ValidationEventHandler handler) 73internal void RemoveHandler(ValidationEventHandler handler) 199internal XmlValidatingReaderImpl(XmlReader reader, ValidationEventHandler? settingsEventHandler, bool processIdentityConstraints) 828internal event ValidationEventHandler ValidationEventHandler
System\Xml\Core\XsdValidatingReader.cs (1)
65private readonly ValidationEventHandler? _validationEvent;
System\Xml\Dom\DocumentSchemaValidator.cs (3)
36private readonly ValidationEventHandler? _eventHandler; 37private readonly ValidationEventHandler _internalEventHandler; 57public DocumentSchemaValidator(XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler? eventHandler)
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1243public override bool CheckValidity(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler)
System\Xml\Dom\XmlDocument.cs (2)
1482public void Validate(ValidationEventHandler? validationEventHandler) 1487public void Validate(ValidationEventHandler? validationEventHandler, XmlNode nodeToValidate)
System\Xml\Schema\BaseProcessor.cs (4)
14private readonly ValidationEventHandler? _eventHandler; 19public BaseProcessor(XmlNameTable nameTable, SchemaNames? schemaNames, ValidationEventHandler? eventHandler) 23public BaseProcessor(XmlNameTable nameTable, SchemaNames? schemaNames, ValidationEventHandler? eventHandler, XmlSchemaCompilationSettings? compilationSettings) 40protected ValidationEventHandler? EventHandler
System\Xml\Schema\BaseValidator.cs (3)
112public ValidationEventHandler? EventHandler 114get { return (ValidationEventHandler?)_eventHandling!.EventHandler; } 292protected static void ProcessEntity(SchemaInfo sinfo, string name, object? sender, ValidationEventHandler? eventhandler, string? baseUri, int lineNumber, int linePosition)
System\Xml\Schema\Parser.cs (2)
19private readonly ValidationEventHandler? _eventHandler; 38public Parser(SchemaType schemaType, XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler? eventHandler)
System\Xml\Schema\Preprocessor.cs (2)
75public Preprocessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler? eventHandler) 79public Preprocessor(XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler? eventHandler, XmlSchemaCompilationSettings compilationSettings)
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
20public SchemaCollectionCompiler(XmlNameTable nameTable, ValidationEventHandler? eventHandler)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
44public SchemaCollectionPreprocessor(XmlNameTable nameTable, SchemaNames? schemaNames, ValidationEventHandler? eventHandler)
System\Xml\Schema\SchemaInfo.cs (1)
288internal void Add(SchemaInfo sinfo, ValidationEventHandler? eventhandler)
System\Xml\Schema\SchemaSetCompiler.cs (1)
30public Compiler(XmlNameTable nameTable, ValidationEventHandler? eventHandler, XmlSchema? schemaForSchema, XmlSchemaCompilationSettings? compilationSettings) : base(nameTable, null, eventHandler, compilationSettings)
System\Xml\Schema\XdrBuilder.cs (2)
389private readonly ValidationEventHandler? _validationEventHandler; 403ValidationEventHandler? eventhandler)
System\Xml\Schema\XdrValidator.cs (1)
560ValidationEventHandler? eventhandler,
System\Xml\Schema\XmlSchema.cs (7)
59public static XmlSchema? Read(TextReader reader, ValidationEventHandler? validationEventHandler) 65public static XmlSchema? Read(Stream stream, ValidationEventHandler? validationEventHandler) 71public static XmlSchema? Read(XmlReader reader, ValidationEventHandler? validationEventHandler) 186public void Compile(ValidationEventHandler? validationEventHandler) 194public void Compile(ValidationEventHandler? validationEventHandler, XmlResolver? resolver) 202internal bool CompileSchema(XmlSchemaCollection? xsc, XmlResolver? resolver, SchemaInfo schemaInfo, string? ns, ValidationEventHandler? validationEventHandler, XmlNameTable nameTable, bool CompileContentModel) 224internal void CompileSchemaInSet(XmlNameTable nameTable, ValidationEventHandler? eventHandler, XmlSchemaCompilationSettings? compilationSettings)
System\Xml\Schema\XmlSchemaAttribute.cs (1)
117internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaCollection.cs (3)
30private ValidationEventHandler? _validationEventHandler; 76public event ValidationEventHandler ValidationEventHandler 362internal ValidationEventHandler? EventHandler
System\Xml\Schema\XmlSchemaElement.cs (1)
193internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaSet.cs (4)
29private readonly ValidationEventHandler _internalEventHandler; 30private ValidationEventHandler? _eventHandler; 131public event ValidationEventHandler ValidationEventHandler 1221internal ValidationEventHandler? GetEventHandler()
System\Xml\Schema\XmlSchemaType.cs (1)
207internal XmlReader? Validate(XmlReader reader, XmlResolver? resolver, XmlSchemaSet schemaSet, ValidationEventHandler valEventHandler)
System\Xml\Schema\XmlSchemaValidator.cs (5)
112private ValidationEventHandler? _eventHandler; 306public event ValidationEventHandler? ValidationEventHandler 2498internal static void ElementValidationError(XmlQualifiedName name, ValidationState context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos, XmlSchemaSet? schemaSet) 2556internal static void CompleteValidationError(ValidationState context, ValidationEventHandler? eventHandler, object sender, string? sourceUri, int lineNo, int linePos, XmlSchemaSet? schemaSet) 2866internal static void SendValidationEvent(ValidationEventHandler? eventHandler, object sender, XmlSchemaValidationException e, XmlSeverityType severity)
System\Xml\Schema\XsdBuilder.cs (2)
673private readonly ValidationEventHandler? _validationEventHandler; 683ValidationEventHandler? eventhandler
System\Xml\Serialization\XmlSchemas.cs (1)
620public void Compile(ValidationEventHandler? handler, bool fullCompile)
System\Xml\XPath\XPathNavigator.cs (4)
985public virtual bool CheckValidity(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler) 1053private static XmlReader GetValidatingReader(XmlReader reader, XmlSchemaSet schemas, ValidationEventHandler validationEvent, XmlSchemaType? schemaType, XmlSchemaElement? schemaElement, XmlSchemaAttribute? schemaAttribute) 1079private readonly ValidationEventHandler _nextEventHandler; 1082internal CheckValidityHelper(ValidationEventHandler nextEventHandler, XPathNavigatorReader reader)
System.Private.Xml.Linq (14)
System\Xml\Schema\XNodeValidator.cs (14)
18private readonly ValidationEventHandler? validationEventHandler; 30public XNodeValidator(XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 461/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> 464public static void Validate(this XDocument source, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 474/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> 480public static void Validate(this XDocument source, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo) 496/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> that 499public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 512/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> that 518public static void Validate(this XElement source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo) 535/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> that 538public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler) 551/// <param name="validationEventHandler">The <see cref="ValidationEventHandler"/> that 557public static void Validate(this XAttribute source, XmlSchemaObject partialValidationType, XmlSchemaSet schemas, ValidationEventHandler? validationEventHandler, bool addSchemaInfo)
System.Xml (1)
System.Xml.cs (1)
20[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.ValidationEventHandler))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
19[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.ValidationEventHandler))]