コード例 #1
0
 public BalanceReport(ITransactionEventStore eventStore)
 {
     // Now we can see the eventStore is being used directly.
     // Just delete the exception so that it can be used in the methods below.
     throw new Exception("Clean this");
     this.eventStore = eventStore;
 }
コード例 #2
0
 public StatementReport(ITransactionEventStore eventStore)
 {
     /*
      * We should have this class implement the port defined
      * in the domain, make the changes required. if you get
      * stuck just let me know and I will give you a clue.
      */
     throw new Exception("Implement the port fully... WTF! What does that mean!?!?!?");
 }
コード例 #3
0
 public CommandHandler(ITransactionEventStore bankTransactionEventStore)
 {
     this.bankTransactionEventStore = bankTransactionEventStore;
 }