void OnAccountInfo(object sender, AccountInfoEventArgs e) { var trade = (DataTrade)sender; trade.AccountInfo -= this.OnAccountInfo; this.eventArgs = e; this.syncEvent.Set(); }
void OnAccountInfo(object sender, AccountInfoEventArgs e) { lock (this.SyncRoot) { this.updateCallback(null, e.Information, null); this.processor.WakeUp(); } }
void RaiseAccountInfo(FxMessage message) { var eh = this.AccountInfo; if (eh != null) { var e = new AccountInfoEventArgs(message); eh(this, e); } }
void OnAccountInfo(object sender, AccountInfoEventArgs e) { lock (this.synchronizer) { this.AccountInfo = e.Information; } this.syncEvent.Set(); }
void DataTrade_AccountInfo(object sender, AccountInfoEventArgs e) { this.accountInfoEvent.Set(); }
void OnAccountInfo(object sender, AccountInfoEventArgs e) { Console.WriteLine("OnAccountInfo(): {0}", e); }
private void OnAccountInfo(object sender, AccountInfoEventArgs e) { TradeResults = new AccountTradeResults(e.Information.AccountId, _ordersPerSec); TradeIsReady.Set(); }
static void OnAccountInfo(object sender, AccountInfoEventArgs e) { Console.WriteLine("OnAccountInfo(): {0}", e.Information); Console.WriteLine("Press any key to exit..."); }