Class ObservableFuncMixins
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
Observable Func Mixins.
- Inheritance
-
Observable
Func Mixins
Methods
ToObservable<TSource, TResult>(Expression<Func<TSource, TResult?>>, TSource?, bool, bool)
Converts to observable.
public static IObservable<TResult?> ToObservable<TSource, TResult>(this Expression<Func<TSource, TResult?>> expression, TSource? source, bool beforeChange = false, bool skipInitial = false)
Parameters
expression
Expression<Func<TSource, TResult>>The expression.
source
TSourceThe view model.
beforeChange
boolif set to
true
[before change].skipInitial
boolif set to
true
[skip initial].
Returns
- IObservable<TResult>
An observable Result.
Type Parameters
TSource
The type of the view model.
TResult
The type of the result.