private async Task OnValidSubmit(EditContext context) { Trace2.Log("OnValidSubmit 回调委托: Starting ..."); await Task.Delay(3000); Trace2.Log("OnValidSubmit 回调委托: Done!"); }
private Task OnInvalidSubmit(EditContext context) { Trace2.Log("OnInvalidSubmit 回调委托"); return(Task.CompletedTask); }
private Task OnSearch2(string searchText) { Trace2.Log($"SearchText: {searchText}"); return(Task.CompletedTask); }
private Task OnClick2(MenuItem item) { Trace2.Log($"菜单点击项: {item.Text}"); return(Task.CompletedTask); }
private Task OnSelectedItemsChanged8(IEnumerable <SelectedItem> items) { Trace2.Log($"选中项集合:{string.Join(",", items.Select(i => i.Value))}"); return(Task.CompletedTask); }