/// <summary> /// Handles the given message <paramref name="message" /> /// </summary> /// <param name="message">The message.</param> public void Handle(StockQuotationAddedEvent message) { if (Data.ReplayFinished) { _eventBus.Publish(new StaticsticsBasicDataChangedEvent(message.Quotation.Date)); } }
/// <summary> /// Handles the given event <paramref name="event"/> /// </summary> /// <param name="event">The event</param> public void Handle(StockQuotationAddedEvent @event) { Quotations.Add(@event.Quotation); }