14 references to Validate
Microsoft.AspNetCore.Components.Forms.Tests (12)
EditContextDataAnnotationsExtensionsTest.cs (8)
40
var isValid = editContext.
Validate
();
70
Assert.False(editContext.
Validate
());
75
Assert.True(editContext.
Validate
());
89
Assert.False(editContext.
Validate
());
95
Assert.True(editContext.
Validate
());
101
Assert.True(editContext.
Validate
());
174
Assert.False(editContext.
Validate
());
179
Assert.True(editContext.
Validate
());
EditContextTest.cs (4)
190
var isValid = editContext.
Validate
();
207
var isValid = editContext.
Validate
();
229
var isValid = editContext.
Validate
();
249
Assert.False(editContext.
Validate
());
Microsoft.AspNetCore.Components.Web (2)
Forms\EditForm.cs (2)
74
/// manually, e.g., by calling <see cref="EditContext.
Validate
"/>.
204
var isValid = _editContext.
Validate
(); // This will likely become ValidateAsync later