Example #1
0
 public void Apply(SagaReceivedCommandEvent @event)
 {
     Command          = @event.Command;
     Key              = @event.Key;
     SuccessEventType = @event.SuccessEventType;
 }
Example #2
0
        public ScheduledCommandProcessingSagaState(Guid id, ScheduledCommandProcessingSaga.States state, Command command, ScheduleKey key, Type successEventType) : base(id, state)
        {
            var sagaReceivedCommandEvent = new SagaReceivedCommandEvent(command, key, successEventType);

            RaiseEvent(sagaReceivedCommandEvent);
        }