C# Class GestSpace.ValuePresenterViewModel

Inheritance: PresenterViewModel
Mostrar archivo Open project: NicolasDorier/GestSpace

Public Methods

Method Description
Dispose ( ) : void
ValuePresenterViewModel ( double minValue, double maxValue, Func getValue, Action setValue, System.TimeSpan pollInterval = null ) : System
ValuePresenterViewModel ( double minValue, double maxValue, IObservable getValue, Action setValue ) : System

Protected Methods

Method Description
SubscribeCore ( ReactiveSpace spaceListener ) : IDisposable

Private Methods

Method Description
Create ( Func getValue, System.TimeSpan pollInterval ) : IObservable
Normalize ( double value ) : double

Method Details

Dispose() public method

public Dispose ( ) : void
return void

SubscribeCore() protected method

protected SubscribeCore ( ReactiveSpace spaceListener ) : IDisposable
spaceListener ReactiveSpace
return IDisposable

ValuePresenterViewModel() public method

public ValuePresenterViewModel ( double minValue, double maxValue, Func getValue, Action setValue, System.TimeSpan pollInterval = null ) : System
minValue double
maxValue double
getValue Func
setValue Action
pollInterval System.TimeSpan
return System

ValuePresenterViewModel() public method

public ValuePresenterViewModel ( double minValue, double maxValue, IObservable getValue, Action setValue ) : System
minValue double
maxValue double
getValue IObservable
setValue Action
return System