Table of Contents

Interface IReadingDataSource

Namespace
Acuit.Pinpoint.IO.Testing
Assembly
Acuit.Pinpoint.IO.Testing.Abstractions.dll

A reading data source.

public interface IReadingDataSource : IDataSource
Inherited Members

Properties

DataObservable

Gets the IObservable<T> that produces data values.

IObservable<TimestampedReadingValue> DataObservable { get; }

Property Value

IObservable<TimestampedReadingValue>

Remarks

Subscriptions to reading observables will receive the last known reading value followed by any subsequent changes. Implementations can use System.Reactive.Subjects.BehaviorSubject<T> to produce this behavior.

A subscription to a reading observable will complete when the the source provider is unregistered.

Descriptor

Gets the reading descriptor.

IReadingDescriptor Descriptor { get; }

Property Value

IReadingDescriptor