protected void DealCancelEvent(StrategyCanceledArguments canceledArguments)
 {
     if (OnCanceled != null)
     {
         OnCanceled(this, canceledArguments);
     }
 }
 private void StrategyExecutor_OnCanceled(object sender, StrategyCanceledArguments arguments)
 {
     if (OnCanceled != null)
     {
         OnCanceled(this, arguments);
     }
 }
Exemple #3
0
 private void Executor_OnCanceled(object sender, StrategyCanceledArguments arguments)
 {
     this.RemoveExecutingExecutor((IStrategyExecutor_Single)sender);
     if (OnStrategyCanceled != null)
     {
         OnStrategyCanceled(sender, arguments);
     }
 }