# Microsoft.AspNetCore.Components.Forms

``` diff
 namespace Microsoft.AspNetCore.Components.Forms {
-    public class DataAnnotationsValidator : ComponentBase {
+    public class DataAnnotationsValidator : ComponentBase, IDisposable {
+        protected virtual void Dispose(bool disposing);
+        protected override void OnParametersSet();
+        void System.IDisposable.Dispose();
     }
     public static class EditContextDataAnnotationsExtensions {
+        public static IDisposable EnableDataAnnotationsValidation(this EditContext editContext);
     }
 }
```

