IAsyncValidationContext.ValidateAsync method
Namespace: NextDesign.Core
Description
Validate asynchronously.
For more information on validation, see the IModel Validate(ValidationOptions options) method.
Return value
- Tasks
Annotations
If save processing is performed during this processing, a conflict may occur and an error may occur.
Do not save during an asynchronous validation process.
The above conditions apply if this method is called in the event handler for the event before saving the project (onBeforeSave).
Also, if you have executed asynchronous validation with some function, please control so that the save process is not performed before the validation is completed.
For example, if there is an asynchronous verification process running in the event handler before saving the project (onBeforeSave), wait for it or cancel it.