Blazor "auto-bindable" property source generator
anyone know lib that can auto generate required event and property?
For example:
Auto generate into:
???
For example:
Auto generate into:
???
[BindableParameter]
public bool Visible { get; set; } private bool _visible;
[Parameter]
public bool Visible
{
get => _visible;
set
{
if (_visible == value) return;
_visible = value;
VisibleChanged.InvokeAsync(value);
}
}
[Parameter]
public EventCallback<bool> VisibleChanged { get; set; }