public TransactionInfo Handle(Chronos.Core.Events.TransactionQuoteAdded e, TransactionInfo state) { var newState = new TransactionInfo(state.TxId, state.Date, state.Quantity, state.TransactionType, state.Comment); newState.Quotes.Add(e.Quantity); return(newState); }
private void ApplyEvent(Chronos.Core.Events.TransactionQuoteAdded e) { }