15 references to Validate
Aspire.Dashboard (1)
Components\Dialogs\InteractionsInputDialog.razor.cs (1)
183if (_editContext.Validate())
Microsoft.AspNetCore.Components.Forms.Tests (12)
EditContextDataAnnotationsExtensionsTest.cs (8)
30var isValid = editContext.Validate(); 60Assert.False(editContext.Validate()); 65Assert.True(editContext.Validate()); 79Assert.False(editContext.Validate()); 85Assert.True(editContext.Validate()); 91Assert.True(editContext.Validate()); 164Assert.False(editContext.Validate()); 169Assert.True(editContext.Validate());
EditContextTest.cs (4)
190var isValid = editContext.Validate(); 207var isValid = editContext.Validate(); 229var isValid = editContext.Validate(); 249Assert.False(editContext.Validate());
Microsoft.AspNetCore.Components.Web (2)
Forms\EditForm.cs (2)
74/// manually, e.g., by calling <see cref="EditContext.Validate"/>. 204var isValid = _editContext.Validate(); // This will likely become ValidateAsync later