Esempio n. 1
0
 public BfxChildOrderTransactionEventArgs(
     BfxOrderTransactionEventKind kind,
     BfxChildOrderTransactionState state,
     DateTime time
     )
 {
     Kind  = kind;
     State = state;
     Time  = time;
 }
Esempio n. 2
0
 void NotifyStateChanged(BfxOrderTransactionEventKind kind, DateTime time)
 {
     try
     {
         StateChanged?.Invoke(this, new BfxParentOrderTransactionEventArgs(kind, this, time));
     }
     catch (Exception ex)
     {
         Debug.WriteLine($"Exception occuted in user handler. {ex.Message}");
     }
 }