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
editsStreamSinkStreamSink<T>initialValueTcomparerIEqualityComparer<T>
Returns
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
sinkCellSink<T>comparerIEqualityComparer<T>
Returns
Type Parameters
T