Esempio n. 1
0
        public void On(StepAttemptFailedEvent evnt)
        {
            var activity = _activities.First(x => x.ActivityId == evnt.StepId.ActivityId);

            activity.On(evnt);

            UpdateState();
        }
 protected bool Equals(StepAttemptFailedEvent other)
 {
     return(Equals(_stepId, other._stepId));
 }
Esempio n. 3
0
 public void On(StepAttemptFailedEvent evnt)
 {
     _state = ActivityState.Failing;
     _failures++;
 }
Esempio n. 4
0
        public void On(StepAttemptFailedEvent evnt)
        {
            var stage = _stages.First(x => x.StageId == evnt.StepId.StageId);

            stage.On(evnt);
        }