Example #1
0
 private void ApplyEvent(Chronos.Core.Events.TransactionRecorded e)
 {
     Id = e.TxId;
 }
 public TransactionInfo Handle(Chronos.Core.Events.TransactionRecorded e, TransactionInfo state)
 {
     return(new TransactionInfo(e.TxId, e.Timestamp, e.Quantity, e.TransactionType, e.Comment));
 }