| DataTreeRegisterListener Method |
Registers a callback at the specified path.
Namespace:
Slash.Unity.DataBind.Core.Data
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public Object RegisterListener(
string path,
Action<Object> onValueChanged
)
Public Function RegisterListener (
path As String,
onValueChanged As Action(Of Object)
) As Object
public:
Object^ RegisterListener(
String^ path,
Action<Object^>^ onValueChanged
)
member RegisterListener :
path : string *
onValueChanged : Action<Object> -> Object
Parameters
- path
- Type: SystemString
Path to register for. - onValueChanged
- Type: SystemActionObject
Callback to invoke when value at the specified path changed.
Return Value
Type:
ObjectCurrent value at specified path.
Exceptions See Also