EditContextDataAnnotationsExtensions
AddDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext, IServiceProvider)
net6.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.0 |
| .NET Core | 3.03.1 |
Information specific to net6.0 | |
| Assembly | Microsoft.AspNetCore.Components.Forms , Version=6.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Obsolete | Use EnableDataAnnotationsValidation instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API