public HelloWorldController(
     ILogger <HelloWorldController> logger,
     ITransportPublisher transportPublisher)
 {
     _logger             = logger ?? throw new ArgumentNullException(nameof(logger));
     _transportPublisher = transportPublisher ?? throw new ArgumentNullException(nameof(transportPublisher));
 }
Beispiel #2
0
 public void Start(ITransportPublisher publisher)
 {
     _shouldStop = false;
     _publisher  = publisher;
     StartEventsTicking();
 }
 public void Start(ITransportPublisher publisher)
 {
     _shouldStop = false;
     _publisher = publisher;
     StartEventsTicking();
 }