Beispiel #1
0
        public void When(CurrentSupplierNotified @event)
        {
            switch (_state)
            {
            case State.AwaitingCurrentSupplierNotificationDispatch:
                SetInternalState(State.AwaitingSupplierChange);
                ScheduleSupplierChange();
                break;

            default:
                ThrowIfStateDoesNotMatch(@event);
                break;
            }
        }
Beispiel #2
0
 public Task Handle(CurrentSupplierNotified notification, CancellationToken cancellationToken)
 {
     throw new System.NotImplementedException();
 }