public BfxChildOrderTransactionEventArgs( BfxOrderTransactionEventKind kind, BfxChildOrderTransactionState state, DateTime time ) { Kind = kind; State = state; Time = time; }
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}"); } }