public SingleToMultiOutputAdapter(ISingleOutputService <TInput, TOutput> service) { _service = service ?? throw new ArgumentNullException(nameof(service)); }
public SingleOutputServiceAdapter(ILogger <SingleOutputServiceAdapter <TInput, TOutput> > logger, IMetricsFactory <SingleOutputServiceAdapter <TInput, TOutput> > metrics, ISingleOutputService <TInput, TOutput> service, ITypedMessagePublisher <TOutput> publisher) : base(logger, metrics, new SingleToMultiOutputAdapter <TInput, TOutput>(service), publisher) { }