Skip to content

},System.Linq.Expressions.Expression{System.Func{--1,--2}},System.Reactive.Concurrency.IScheduler)} },System.Linq.Expressions.Expression{System.Func{--2,--3}},System.Func{--1,--3},System.Reactive.Concurrency.IScheduler)} },System.Linq.Expressions.Expression{System.Func{--2,--3}},ReactiveUI.Binding.Reactive.IBindingTypeConverter,System.Reactive.Concurrency.IScheduler,System.Object)}

ReactiveSchedulerExtensions.BindOneWayUnsafe(TSource, TTarget, Expression>, Expression>, IScheduler?) method

Defined in

Type: ReactiveSchedulerExtensions Namespace: ReactiveUI.Binding.Reactive Assembly: ReactiveUI.Binding.Reactive.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471

Overloads

  • 1. public static IDisposable BindOneWayUnsafe<TSource, TTarget, TProperty>(this TSource source, TTarget target, Expression<Func<TSource, TProperty>> sourceProperty, Expression<Func<TTarget, TProperty>> targetProperty, IScheduler? scheduler) where TSource : class where TTarget : class
  • 2. public static IDisposable BindOneWayUnsafe<TSource, TSourceProp, TTarget, TTargetProp>(this TSource source, TTarget target, Expression<Func<TSource, TSourceProp>> sourceProperty, Expression<Func<TTarget, TTargetProp>> targetProperty, Func<TSourceProp, TTargetProp> conversionFunc, IScheduler? scheduler) where TSource : class where TTarget : class
  • 3. public static IDisposable BindOneWayUnsafe<TSource, TSourceProp, TTarget, TTargetProp>(this TSource source, TTarget target, Expression<Func<TSource, TSourceProp>> sourceProperty, Expression<Func<TTarget, TTargetProp>> targetProperty, IBindingTypeConverter converter, IScheduler? scheduler, object? conversionHint) where TSource : class where TTarget : class

1. Overload

Attributes: [RequiresUnreferencedCode("Runtime binding fallback resolves the property chain by reflection.")]

public static IDisposable BindOneWayUnsafe<TSource, TTarget, TProperty>(this TSource source, TTarget target, Expression<Func<TSource, TProperty>> sourceProperty, Expression<Func<TTarget, TProperty>> targetProperty, IScheduler? scheduler) where TSource : class where TTarget : class

View source

Summary: Creates a one-way binding from a source property to a target property with a specified scheduler.

Type parameters

NameDescription
TSourceThe type of the source.
TTargetThe type of the target object.
TPropertyThe type of the property being bound.

Parameters

NameTypeDescription
sourceTSourceThe source the binding is rooted on.
targetTTargetThe target object whose property will be updated.
sourcePropertyExpression>An expression that selects the source property to observe.
targetPropertyExpression>An expression that selects the target property to update.
scheduler[IScheduler?](#The scheduler to use for the binding.

Returns: IDisposable -- A disposable that, when disposed, disconnects the binding.

Remarks

Resolves the property chain by reflection, for an expression the generator could not read.

2. Overload

Attributes: [RequiresUnreferencedCode("Runtime binding fallback resolves the property chain by reflection.")]

public static IDisposable BindOneWayUnsafe<TSource, TSourceProp, TTarget, TTargetProp>(this TSource source, TTarget target, Expression<Func<TSource, TSourceProp>> sourceProperty, Expression<Func<TTarget, TTargetProp>> targetProperty, Func<TSourceProp, TTargetProp> conversionFunc, IScheduler? scheduler) where TSource : class where TTarget : class

View source

Summary: Creates a one-way binding from a source property to a target property with a conversion function and a specified scheduler.

Type parameters

NameDescription
TSourceThe type of the source.
TSourcePropThe type of the source property.
TTargetThe type of the target object.
TTargetPropThe type of the target property.

Parameters

NameTypeDescription
sourceTSourceThe source the binding is rooted on.
targetTTargetThe target object whose property will be updated.
sourcePropertyExpression>An expression that selects the source property to observe.
targetPropertyExpression>An expression that selects the target property to update.
conversionFuncFuncA function that converts the source property value to the target property type.
scheduler[IScheduler?](#The scheduler to use for the binding.

Returns: IDisposable -- A disposable that, when disposed, disconnects the binding.

Remarks

Resolves the property chain by reflection, for an expression the generator could not read.

3. Overload

Attributes: [RequiresUnreferencedCode("Runtime binding fallback resolves the property chain by reflection.")]

public static IDisposable BindOneWayUnsafe<TSource, TSourceProp, TTarget, TTargetProp>(this TSource source, TTarget target, Expression<Func<TSource, TSourceProp>> sourceProperty, Expression<Func<TTarget, TTargetProp>> targetProperty, IBindingTypeConverter converter, IScheduler? scheduler, object? conversionHint) where TSource : class where TTarget : class

View source

Summary: Creates a one-way binding from a source property to a target property using an explicit IBindingTypeConverter.

Type parameters

NameDescription
TSourceThe type of the source.
TSourcePropThe type of the source property.
TTargetThe type of the target object.
TTargetPropThe type of the target property.

Parameters

NameTypeDescription
sourceTSourceThe source the binding is rooted on.
targetTTargetThe target object whose property will be updated.
sourcePropertyExpression>An expression that selects the source property to observe.
targetPropertyExpression>An expression that selects the target property to update.
converter[IBindingTypeConverter](#The binding type converter to use for converting between source and target types.
scheduler[IScheduler?](#The scheduler to use for the binding.
conversionHintobject?An optional hint passed to the converter (e.g., format string).

Returns: IDisposable -- A disposable that, when disposed, disconnects the binding.

Remarks

Resolves the property chain by reflection, for an expression the generator could not read.