Click or drag to resize

IDataContextRegisterListener Method

Registers a callback at the specified path of the context.

Namespace:  Slash.Unity.DataBind.Core.Data
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
Object RegisterListener(
	string path,
	Action<Object> onValueChanged
)

Parameters

path
Type: SystemString
Path to register for.
onValueChanged
Type: SystemActionObject
Callback to invoke when value at the specified path changed.

Return Value

Type: Object
Current value at specified path.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if path is invalid for this context.
See Also