public WaitForSignalsEvent(HistoryEvent @event, IEnumerable <HistoryEvent> allEvents)
     : base(@event)
 {
     _data        = @event.MarkerRecordedEventAttributes.Details.As <WaitForSignalData>();
     ScheduleId   = ScheduleId.Raw(_data.ScheduleId);
     _signalState = new WaitingForSignalState(this);
     PopulateResumedSignals(allEvents);
 }
 internal WorkflowItemWaitAction(WorkflowItemEvent itemEvent, SignalWaitType waitType, params string[] signalNames)
 {
     _scheduleId            = itemEvent.ScheduleId;
     _waitingEventTimeStamp = itemEvent.Timestamp;
     _data = new WaitForSignalData
     {
         ScheduleId                 = itemEvent.ScheduleId,
         TriggerEventId             = itemEvent.EventId,
         WaitType                   = waitType,
         SignalNames                = signalNames,
         NextAction                 = SignalNextAction.Continue,
         TriggerEventCompletionDate = itemEvent.Timestamp
     };
 }
Example #3
0
 public WaitForSignalsDecision(WaitForSignalData data) : base(false)
 {
     _data = data;
     _id   = ScheduleId.Raw(data.ScheduleId);
 }
 public WaitingForSignalState(WaitForSignalsEvent waitForSignalsEvent)
 {
     _waitForSignalsEvent = waitForSignalsEvent;
     _data = waitForSignalsEvent._data;
 }