void OnPositionReport(object sender, PositionReportEventArgs e) { lock (this.SyncRoot) { this.processor.WakeUp(); } }
void RaisePositionReport(FxMessage message) { var eh = this.PositionReport; if (eh != null) { var e = new PositionReportEventArgs(message); eh(this, e); } }
void OnPositionReport(object sender, PositionReportEventArgs e) { Console.WriteLine("OnPositionReport(): {0}", e); }