Constructor ScalarBinding
| Improve this Doc View SourceScalarBinding(Action<T>)
Initializes a new instance of ScalarBinding<T> class.
Declaration
public ScalarBinding(Action<T> onRefresh)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | onRefresh | The delegate to refresh the binding. |
ScalarBinding(Action<T>, Action<T>, Action<T>)
Initializes a new instance of ScalarBinding<T> class.
Declaration
public ScalarBinding(Action<T> onRefresh, Action<T> onSetup, Action<T> onCleanup)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | onRefresh | The delegate to refresh the binding. |
System.Action<T> | onSetup | The delegate to setup the binding. |
System.Action<T> | onCleanup | The delegate to cleanup the binding. |
ScalarBinding(Action<T, ScalarPresenter>)
Initializes a new instance of ScalarBinding<T> class.
Declaration
public ScalarBinding(Action<T, ScalarPresenter> onRefresh)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T, ScalarPresenter> | onRefresh | The delegate to refresh the binding. |
ScalarBinding(Action<T, ScalarPresenter>, Action<T, ScalarPresenter>, Action<T, ScalarPresenter>)
Initializes a new instance of ScalarBinding<T> class.
Declaration
public ScalarBinding(Action<T, ScalarPresenter> onRefresh, Action<T, ScalarPresenter> onSetup, Action<T, ScalarPresenter> onCleanup)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T, ScalarPresenter> | onRefresh | The delegate to refresh the binding. |
System.Action<T, ScalarPresenter> | onSetup | The delegate to setup the binding. |
System.Action<T, ScalarPresenter> | onCleanup | The delegate to cleanup the binding. |