namespace Microsoft.AspNetCore.Components.Forms {
public static class EditContextDataAnnotationsExtensions {
public static IDisposable EnableDataAnnotationsValidation(this EditContext editContext);
+ public static IDisposable EnableDataAnnotationsValidation(this EditContext editContext, IServiceProvider serviceProvider);
}
public abstract class InputBase<TValue> : ComponentBase, IDisposable {
public override Task SetParametersAsync(ParameterView parameters);
}
public class InputRadio<TValue> : ComponentBase {
+ public ElementReference? Element { get; protected set; }
}
}