/// <summary> /// Handles the given message <paramref name="message" /> /// </summary> /// <param name="message">The message.</param> public void Handle(TransactionSellingOrderAddedEvent message) { CalculatePerformance(message.AggregateId, message.StockId, message.MAE, message.MFE); StatusUpdate.MarkAsCompleted(this); }
/// <summary> /// Handles the given message <paramref name="message" /> /// </summary> /// <param name="message">The message.</param> public void Handle(TransactionDividendOrderAddedEvent message) { CalculateDividendPerformance(message.AggregateId, message.StockId); StatusUpdate.MarkAsCompleted(this); }