EditContextDataAnnotationsExtensions
AddDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext)
EnableDataAnnotationsValidation(EditContext, IServiceProvider)
net11.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.011.0 |
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 | 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