示例#1
0
 private async Task Raise(QueryTableEventHandler Callback, QueryTableEventArgs e)
 {
     if (!this.isAborted && !this.isDone && Callback != null)
     {
         try
         {
             await Callback(this, e);
         }
         catch (Exception ex)
         {
             Log.Critical(ex);
         }
     }
 }
示例#2
0
 private Task Query_OnTableDone(object Sender, QueryTableEventArgs e)
 {
     return(this.TableDone(e));
 }
示例#3
0
 private void Query_OnTableDone(object Sender, QueryTableEventArgs e)
 {
     this.TableDone(e);
 }
示例#4
0
 internal Task TableDone(QueryTableEventArgs e)
 {
     return(this.Raise(this.OnTableDone, e));
 }
示例#5
0
 internal void TableDone(QueryTableEventArgs e)
 {
     this.Raise(this.OnTableDone, e);
 }