public PipelineRunBuilder( [NotNull] BusSettings busSettings, [NotNull] IPipelineBuilder pipelineBuilder, [NotNull] IOuterPipelineDetertorUpdater updater, [NotNull] IDependencyScope dependencyScope) { if (pipelineBuilder == null) { throw new ArgumentNullException(nameof(pipelineBuilder)); } if (updater == null) { throw new ArgumentNullException(nameof(updater)); } if (dependencyScope == null) { throw new ArgumentNullException(nameof(dependencyScope)); } if (busSettings == null) { throw new ArgumentNullException(nameof(busSettings)); } this.pipelineBuilder = pipelineBuilder; this.updater = updater; this.dependencyScope = dependencyScope; this.busSettings = busSettings; }
public PipelineRunBuilder( BusSettings busSettings, IPipelineBuilder pipelineBuilder, IOuterPipelineDetertorUpdater updater, IDependencyScope dependencyScope) { this.pipelineBuilder = pipelineBuilder ?? throw new ArgumentNullException(nameof(pipelineBuilder)); this.updater = updater ?? throw new ArgumentNullException(nameof(updater)); this.dependencyScope = dependencyScope ?? throw new ArgumentNullException(nameof(dependencyScope)); this.busSettings = busSettings ?? throw new ArgumentNullException(nameof(busSettings)); }