Method BindPropertyTo
BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(TTarget, Expression<Func<TTarget, TTargetProperty>>, TSource, Expression<Func<TSource, TSourceProperty>>, IScheduler)
Declaration
[Obsolete("Use RaiseWhenSourceValue instead")]
public static IDisposable BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(this TTarget instance, Expression<Func<TTarget, TTargetProperty>> instancePropertyExtractor, TSource source, Expression<Func<TSource, TSourceProperty>> sourcePropertyExtractor, IScheduler scheduler) where TSource : INotifyPropertyChanged where TTarget : IDisposableReactiveObject
Parameters
Type |
Name |
Description |
TTarget |
instance |
|
Expression<Func<TTarget, TTargetProperty>> |
instancePropertyExtractor |
|
TSource |
source |
|
Expression<Func<TSource, TSourceProperty>> |
sourcePropertyExtractor |
|
IScheduler |
scheduler |
|
Returns
Type Parameters
Name |
Description |
TSource |
|
TTarget |
|
TSourceProperty |
|
TTargetProperty |
|
BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(TTarget, Expression<Func<TTarget, TTargetProperty>>, TSource, Expression<Func<TSource, TSourceProperty>>)
Declaration
[Obsolete("Use RaiseWhenSourceValue instead")]
public static IDisposable BindPropertyTo<TSource, TTarget, TSourceProperty, TTargetProperty>(this TTarget instance, Expression<Func<TTarget, TTargetProperty>> instancePropertyExtractor, TSource source, Expression<Func<TSource, TSourceProperty>> sourcePropertyExtractor) where TSource : INotifyPropertyChanged where TTarget : IDisposableReactiveObject
Parameters
Type |
Name |
Description |
TTarget |
instance |
|
Expression<Func<TTarget, TTargetProperty>> |
instancePropertyExtractor |
|
TSource |
source |
|
Expression<Func<TSource, TSourceProperty>> |
sourcePropertyExtractor |
|
Returns
Type Parameters
Name |
Description |
TSource |
|
TTarget |
|
TSourceProperty |
|
TTargetProperty |
|