Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }