public StatusChanger(IEventStream eventStream, IRunningTransition runningTransition, IFailedTransition failedTransition, IEndTransition endTransition, IWaitingForChildrenTransition waitingForChildrenTransition, IJobMutator jobMutator) { if (eventStream == null) throw new ArgumentNullException("eventStream"); if (runningTransition == null) throw new ArgumentNullException("runningTransition"); if (failedTransition == null) throw new ArgumentNullException("failedTransition"); if (endTransition == null) throw new ArgumentNullException("endTransition"); if (waitingForChildrenTransition == null) throw new ArgumentNullException("waitingForChildrenTransition"); if (jobMutator == null) throw new ArgumentNullException("jobMutator"); _runningTransition = runningTransition; _failedTransition = failedTransition; _endTransition = endTransition; _waitingForChildrenTransition = waitingForChildrenTransition; _jobMutator = jobMutator; }
public StatusChanger(IEventStream eventStream, IRunningTransition runningTransition, IFailedTransition failedTransition, IEndTransition endTransition, IWaitingForChildrenTransition waitingForChildrenTransition, IJobMutator jobMutator) { if (eventStream == null) { throw new ArgumentNullException("eventStream"); } if (runningTransition == null) { throw new ArgumentNullException("runningTransition"); } if (failedTransition == null) { throw new ArgumentNullException("failedTransition"); } if (endTransition == null) { throw new ArgumentNullException("endTransition"); } if (waitingForChildrenTransition == null) { throw new ArgumentNullException("waitingForChildrenTransition"); } if (jobMutator == null) { throw new ArgumentNullException("JobMutator"); } _runningTransition = runningTransition; _failedTransition = failedTransition; _endTransition = endTransition; _waitingForChildrenTransition = waitingForChildrenTransition; _jobMutator = jobMutator; }