Ejemplo n.º 1
0
        public void When(GridOperatorNotified @event)
        {
            switch (_state)
            {
            case State.AwaitingGridOperatorNotification:
                SetInternalState(State.AwaitingCurrentSupplierNotificationDispatch);
                ScheduleNotificationOfCurrentSupplier();
                break;

            default:
                ThrowIfStateDoesNotMatch(@event);
                break;
            }
        }
Ejemplo n.º 2
0
 public Task Handle(GridOperatorNotified notification, CancellationToken cancellationToken)
 {
     throw new System.NotImplementedException();
 }