You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Components/Form/IForm.cs

13 lines
384 B

2 years ago
namespace Connected.Components;
public interface IForm
{
public bool IsValid { get; }
public string[] Errors { get; }
public object? Model { get; set; }
public void FieldChanged(IFormComponent formControl, object newValue);
internal void Add(IFormComponent formControl);
internal void Remove(IFormComponent formControl);
internal void Update(IFormComponent formControl);
}