9 references to ValidateAsync
Aspire.Dashboard (1)
Components\Dialogs\InteractionsInputDialog.razor.cs (1)
228if (await _editContext.ValidateAsync())
Aspire.Dashboard.Components.Tests (1)
Dialogs\FilterDialogTests.cs (1)
34await cut.InvokeAsync(async () => Assert.Equal(isValid, await cut.Instance.EditContext.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"/>. 212var isValid = await _editContext.ValidateAsync();