Beispiel #1
0
 public void Handle(AccountOpened accountOpened)
 {
     HandleAccountOpenedCallCount++;
     HandleAccountOpenedArgument = accountOpened;
     HandleAccountIsReplaying    = IsReplaying;
 }
Beispiel #2
0
        public void OpenAccount(OpenAccount command)
        {
            AccountOpened accountOpened = new AccountOpened(1, command.Owner);

            RaiseEvent(accountOpened);
        }