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

            RaiseEvent(accountOpened);
        }