Beispiel #1
0
 /// <summary>
 /// Fires the ComputationCompleted event with the given event data
 /// </summary>
 /// <param name="e">The event data</param>
 protected virtual void OnComputationCompleted(ComputationEventArgs e)
 {
     if (ComputationCompleted != null)
     {
         ComputationCompleted(this, e);
     }
 }
Beispiel #2
0
 void context_ComputationCompleted(object sender, ComputationEventArgs e)
 {
     for (int i = 0; i < Patterns.Count; i++)
     {
         if (Patterns[i].PushComputation())
         {
             return;
         }
     }
 }