예제 #1
0
 public SingleToMultiOutputAdapter(ISingleOutputService <TInput, TOutput> service)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
예제 #2
0
 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)
 {
 }