Method AddOrUpdateBinding
AddOrUpdateBinding<TSource>(string, TSource, string)
Adds or updates a binding between a target property and a source property of a given source object.
Declaration
public IReactiveBinding AddOrUpdateBinding<TSource>(string targetPropertyPath, TSource source, string sourcePropertyPath) where TSource : DisposableReactiveObject
Parameters
| Type | Name | Description |
|---|---|---|
| string | targetPropertyPath | The path of the target property. |
| TSource | source | The source object. |
| string | sourcePropertyPath | The path of the source property. |
Returns
| Type | Description |
|---|---|
| IReactiveBinding | The reactive binding created or updated. |
Type Parameters
| Name | Description |
|---|---|
| TSource | The type of the source object. |
Implements
AddOrUpdateBinding(IValueProvider, string)
Adds or updates a binding between a target property and a value provider.
Declaration
public IReactiveBinding AddOrUpdateBinding(IValueProvider valueSource, string targetPropertyPath)
Parameters
| Type | Name | Description |
|---|---|---|
| IValueProvider | valueSource | The value provider. |
| string | targetPropertyPath | The path of the target property. |
Returns
| Type | Description |
|---|---|
| IReactiveBinding | The reactive binding created or updated. |
Implements
AddOrUpdateBinding(IReactiveBinding)
Adds or updates a binding.
Declaration
public void AddOrUpdateBinding(IReactiveBinding binding)
Parameters
| Type | Name | Description |
|---|---|---|
| IReactiveBinding | binding | The reactive binding to add or update. |