Method AddOrUpdateBinding
AddOrUpdateBinding(IReactiveBinding)
Adds or updates a binding.
Declaration
void AddOrUpdateBinding(IReactiveBinding binding)
Parameters
Type | Name | Description |
---|---|---|
IReactiveBinding | binding | The reactive binding to add or update. |
AddOrUpdateBinding<TSource>(string, TSource, string)
Adds or updates a binding between a target property and a source property of a given source object.
Declaration
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. |
AddOrUpdateBinding(IValueProvider, string)
Adds or updates a binding between a target property and a value provider.
Declaration
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. |