protected async Task ReCalcText(Microsoft.AspNetCore.Components.ChangeEventArgs args) { this.Text = (string)args.Value; if (this.Autorun) { await this.ReCalc(); } }
protected virtual async Task OnValueChanged(Microsoft.AspNetCore.Components.ChangeEventArgs e) { this.Value = e.Value.To <TValue>(); await ValueChanged.InvokeAsync(this.Value); }