コード例 #1
0
        public void When(ConsumerDetailsDispatched @event)
        {
            switch (_state)
            {
            case State.AwaitingConsumerDetailsDispatch:
                SetInternalState(State.AwaitingGridOperatorNotification);
                SendCommand(new NotifyGridOperator(_processId !));
                break;

            default:
                ThrowIfStateDoesNotMatch(@event);
                break;
            }
        }
コード例 #2
0
 public Task Handle(ConsumerDetailsDispatched notification, CancellationToken cancellationToken)
 {
     throw new System.NotImplementedException();
 }