Пример #1
0
        protected virtual void OnRequestCompleted(StockHistoryRequestedEventArgs eventArgs)
        {
            var eventHandler = this.RequestStockHistoryCompleted;

            if (eventHandler != null)
            {
                eventHandler(this, eventArgs);
            }

            Logs.Trace(this, "RequestStockHistoryCompleted");
        }
Пример #2
0
        protected virtual void OnRequestCompleted(List <StockDataItem> data, object state)
        {
            var eventArgs = new StockHistoryRequestedEventArgs(data, null, false, state);

            OnRequestCompleted(eventArgs);
        }