Method ToProperty
ToProperty<TSource, TSourceProperty>(TSource, Expression<Func<TSource, TSourceProperty>>, IObservable<TSourceProperty>, TSourceProperty, bool, IScheduler)
Declaration
public static ObservableAsPropertyHelper<TSourceProperty> ToProperty<TSource, TSourceProperty>(this TSource instance, Expression<Func<TSource, TSourceProperty>> instancePropertyExtractor, IObservable<TSourceProperty> sourceObservable, TSourceProperty initialValue, bool deferSubscription, IScheduler scheduler) where TSource : IDisposableReactiveObject
Parameters
| Type |
Name |
Description |
| TSource |
instance |
|
| Expression<Func<TSource, TSourceProperty>> |
instancePropertyExtractor |
|
| IObservable<TSourceProperty> |
sourceObservable |
|
| TSourceProperty |
initialValue |
|
| bool |
deferSubscription |
|
| IScheduler |
scheduler |
|
Returns
| Type |
Description |
| ObservableAsPropertyHelper<TSourceProperty> |
|
Type Parameters
| Name |
Description |
| TSource |
|
| TSourceProperty |
|