Ejemplo n.º 1
0
 private async Task Raise(QueryObjectEventHandler Callback, QueryObjectEventArgs e)
 {
     if (!this.isAborted && !this.isDone && Callback != null)
     {
         try
         {
             await Callback(this, e);
         }
         catch (Exception ex)
         {
             Log.Critical(ex);
         }
     }
 }
Ejemplo n.º 2
0
 private Task Query_OnNewObject(object Sender, QueryObjectEventArgs e)
 {
     return(this.NewObject(e));
 }
Ejemplo n.º 3
0
 private void Query_OnNewObject(object Sender, QueryObjectEventArgs e)
 {
     this.NewObject(e);
 }
Ejemplo n.º 4
0
 internal Task NewObject(QueryObjectEventArgs e)
 {
     return(this.Raise(this.OnNewObject, e));
 }
Ejemplo n.º 5
0
 internal void NewObject(QueryObjectEventArgs e)
 {
     this.Raise(this.OnNewObject, e);
 }