Table of Contents

Class MutableObservableSingle

Namespace
CarinaStudio
Assembly
CarinaStudio.AppBase.Core.dll

Specific MutableObservableValue<T> for float value.

public class MutableObservableSingle : MutableObservableValue<float>, IObservable<float>
Inheritance
MutableObservableSingle
Implements
Inherited Members
Extension Methods

Constructors

MutableObservableSingle(float)

Initialize new MutableObservableSingle instance.

public MutableObservableSingle(float initialValue = 0)

Parameters

initialValue float

Initial value.

Methods

CheckValuesEquality(float, float)

Check equality of values.

protected override bool CheckValuesEquality(float x, float y)

Parameters

x float

First value.

y float

Second value.

Returns

bool

True if two values are equivalent.

Decrease(float)

Decrease by given value.

public void Decrease(float value)

Parameters

value float

Value to decrease.

Increase(float)

Increase by given value.

public void Increase(float value)

Parameters

value float

Value to increase.