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); } } }
private Task Query_OnTableDone(object Sender, QueryTableEventArgs e) { return(this.TableDone(e)); }
private void Query_OnTableDone(object Sender, QueryTableEventArgs e) { this.TableDone(e); }
internal Task TableDone(QueryTableEventArgs e) { return(this.Raise(this.OnTableDone, e)); }
internal void TableDone(QueryTableEventArgs e) { this.Raise(this.OnTableDone, e); }