Beispiel #1
0
        public void On(StepFailedEvent evnt)
        {
            var activity = _activities.First(x => x.ActivityId == evnt.StepId.ActivityId);

            activity.On(evnt);

            UpdateState();
        }
Beispiel #2
0
        public void On(StepFailedEvent evnt)
        {
            var stage = _stages.First(x => x.StageId == evnt.StepId.StageId);

            stage.On(evnt);
        }
Beispiel #3
0
 public void On(StepFailedEvent evnt)
 {
     _state = ActivityState.Failed;
     _failures++;
 }
Beispiel #4
0
 protected bool Equals(StepFailedEvent other)
 {
     return(Equals(_stepId, other._stepId));
 }