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);
        }
Esempio n. 2
0
 private void ApplyEvent(Chronos.Core.Events.TransactionQuoteAdded e)
 {
 }