14 references to Validate
Microsoft.AspNetCore.Components.Forms.Tests (12)
EditContextDataAnnotationsExtensionsTest.cs (8)
40var isValid = editContext.Validate(); 70Assert.False(editContext.Validate()); 75Assert.True(editContext.Validate()); 89Assert.False(editContext.Validate()); 95Assert.True(editContext.Validate()); 101Assert.True(editContext.Validate()); 174Assert.False(editContext.Validate()); 179Assert.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