Exemple #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);
 }
Exemple #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);
 }