Example #1
0
 protected void OnOrderExecuted(DealExecutedEventArgs args)
 {
     var onOrderExecuted = this.OrderExecuted;
     if (onOrderExecuted != null)
     {
         onOrderExecuted(this, args);
     }
 }
Example #2
0
 private void Market_OrderExecuted(object sender, DealExecutedEventArgs e)
 {
     if (this == sender)
     {
         // we have been executed
         this.OnOrderExecuted(e);
     }
 }
Example #3
0
 private void OnOrderExecuted(DealExecutedEventArgs e)
 {
     this.RaiseOrderExecuted(e);
 }
Example #4
0
 private void RaiseOrderExecuted(DealExecutedEventArgs e)
 {
     var onOrderExecuted = this.OrderExecuted;
     if (onOrderExecuted != null)
     {
         onOrderExecuted(this, e);
     }
 }