Exemplo n.º 1
0
 public MarkerStreamer([CanBeNull] IMarkerSource markerSource, [NotNull] IClock clock, [NotNull] IConsumer <Timestamped <IMarker> > consumer)
Exemplo n.º 2
0
 public MarkerStreamer([CanBeNull] IMarkerSource markerSource, [NotNull] IClock clock) : base(nameof(MarkerStreamer), clock)
 {
     MarkerSource = markerSource;
     Started     += (sender, e) => MarkerSource?.Open();
     Stopped     += (sender, e) => MarkerSource?.Shutdown();
 }