Table of Contents

Method CreateOneWayToSource

Namespace
SodaFlow.Bindable.ObjectModel
Assembly
SodaFlow.Bindable.ObjectModel.dll

CreateOneWayToSource<T>(StreamSink<T>, T, IEqualityComparer<T>?)

Creates a one-way-to-source bindable property with an initial value, and sends the writes of the view into editsStreamSink.

public IOneWayToSourceBindableValue<T> CreateOneWayToSource<T>(StreamSink<T> editsStreamSink, T initialValue, IEqualityComparer<T>? comparer = null)

Parameters

editsStreamSink StreamSink<T>
initialValue T
comparer IEqualityComparer<T>

Returns

IOneWayToSourceBindableValue<T>

Type Parameters

T

CreateOneWayToSource<T>(CellSink<T>, IEqualityComparer<T>?)

Creates a one-way-to-source bindable property with an initial value, and sends the writes of the view into sink.

public IOneWayToSourceBindableValue<T> CreateOneWayToSource<T>(CellSink<T> sink, IEqualityComparer<T>? comparer = null)

Parameters

sink CellSink<T>
comparer IEqualityComparer<T>

Returns

IOneWayToSourceBindableValue<T>

Type Parameters

T