2using System.Threading.Tasks;
29 Task<bool>
ValidateAsync(
string Key,
string Xml, CancellationToken CancellationToken =
default);
Default implementation of IXmlSchemaValidationService.
Contract for validating XML instances against pre-registered XML Schemas (XSD). Schemas are lazily lo...
Task< bool > ValidateAsync(string Key, string Xml, CancellationToken CancellationToken=default)
Validates an XML string against the schema identified by Key. Returns true if valid or schema missing...
void RegisterSchema(string Key, string RelativePath)
Registers a schema under a logical Key. The schema file must exist in the application package (Raw re...
bool IsRegistered(string Key)
Checks if a schema Key has been registered.