Characteristic Locus
Inheritance System.Object > FilterableObservableBase<C, T> > AnalogJoystick > AnalogTemperature
Implements System.IObservable<C>
Inherited Members System.Object.ToString() System.Object.Equals(System.Object) System.Object.Equals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) System.Object.GetHashCode() System.Object.GetType() System.Object.MemberwiseClone()
Namespace Meadow.Foundation.Sensors
Assembly Meadow.Foundation.dll

Syntax

public abstract class FilterableObservableBase<C, T> : IObservable<C> where C : IChangeResult<T>

Type Parameters

Name Description
C
T

Constructors

FilterableObservableBase()

Declaration
public FilterableObservableBase()

Properties

_observers

Declaration
protected List<IObserver<C>> _observers { get; set; }

Property Value

Type Description
System.Collections.Generic.List<System.IObserver<C>>

Methods

NotifyObservers(C)

Declaration
protected void NotifyObservers(C changeResult)

Parameters

Type Name Description
C changeResult

Subscribe(IObserver<C>)

Declaration
public IDisposable Subscribe(IObserver<C> observer)

Parameters

Type Name Description
System.IObserver<C> observer

Returns

Type Description
System.IDisposable