EditContextDataAnnotationsExtensions
AddDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext, IServiceProvider)
net11.0
namespace Microsoft.AspNetCore.Components.Forms
{
public static class EditContextDataAnnotationsExtensions
{
[Obsolete("Use EnableDataAnnotationsValidation instead.")]
public static EditContext! AddDataAnnotationsValidation(this EditContext! editContext);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 3.03.1 |
Information specific to net11.0 | |
| Assembly | Microsoft.AspNetCore.Components.Forms , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Components.Forms (10.0.5) net10.0 |
| Obsolete | Use EnableDataAnnotationsValidation instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API