7 references to ValidateAsync
Microsoft.AspNetCore.Components.Forms (5)
EditContext.cs (4)
51
/// <see cref="
ValidateAsync
(CancellationToken)"/> invokes every registered validator and awaits the
233
/// <see cref="InvalidOperationException"/>; use <see cref="
ValidateAsync
"/> for async validators.
440
/// Returns <c>true</c> if a form-level <see cref="
ValidateAsync
"/> pass is currently in flight, for
469
/// caller-cancelled <see cref="
ValidateAsync
"/> pass preserves it. For per-field faults use the
ValidationRequestedEventArgs.cs (1)
36
/// resulting <see cref="Task"/>. It is invoked by <see cref="EditContext.
ValidateAsync
(CancellationToken)"/>
Microsoft.AspNetCore.Components.Web (2)
Forms\EditForm.cs (2)
74
/// manually, e.g., by calling <see cref="EditContext.
ValidateAsync
"/>.
204
var isValid = await _editContext.
ValidateAsync
();