void OnQuote(TEsQuoteRspField rsp) { Trace.WriteLine(string.Format("行情:{0} {1}", rsp.Contract, rsp.New)); EventProcessor.BeginInvoke(this._esunnyQuote.QuoteResponse, this._esunnyQuote, new EsunnyEventArgs <TEsQuoteRspField>(rsp)); }
void OnQuote(TEsQuoteRspField rsp) { Trace.WriteLine(string.Format("行情:{0} {1}", rsp.Contract, rsp.New)); EventProcessor.BeginInvoke(this._esunnyQuote.QuoteResponse, this._esunnyQuote, new EsunnyEventArgs<TEsQuoteRspField>(rsp)); }