EditContextDataAnnotationsExtensions
AddDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext, IServiceProvider)
net10.0
namespace Microsoft.AspNetCore.Components.Forms
{
public static class EditContextDataAnnotationsExtensions
{
[Obsolete("This API is obsolete and may be removed in future versions. Use the overload that accepts an IServiceProvider instead.")]
public static IDisposable! EnableDataAnnotationsValidation(this EditContext! editContext);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 6.07.08.09.010.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Components.Forms , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Obsolete | This API is obsolete and may be removed in future versions. Use the overload that accepts an IServiceProvider instead. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API