Beispiel #1
0
        private async Task OnValidSubmit(EditContext context)
        {
            Trace2.Log("OnValidSubmit 回调委托: Starting ...");
            await Task.Delay(3000);

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