void RaiseTick(FxMessage message) { #if LOG_PERFORMANCE ulong timestamp = loggerOut_.GetTimestamp(); string id = message.Quote().Id; loggerOut_.LogTimestamp(id, timestamp, "Tick"); #endif var eh = this.Tick; if (eh != null) { var e = new TickEventArgs(message); eh(this, e); } }
internal SubscribedEventArgs(FxMessage message) : base(message) { this.Tick = message.Quote(); }
internal TickEventArgs(FxMessage message) : base(message) { this.Tick = message.Quote(); }