Beispiel #1
0
 public MarkerStreamer([CanBeNull] IMarkerSource markerSource, [NotNull] IClock clock, [NotNull] IConsumer <Timestamped <IMarker> > consumer)
Beispiel #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();
 }