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