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