C-DEngine 5.105

TheDataBase..::..RegisterEvent2 Method

Register a callback that will be fired on a Property Event

Namespace:  nsCDEngine.ViewModels
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public virtual Action<TheProcessMessage, Object> RegisterEvent2(
	string pEventName,
	Action<TheProcessMessage, Object> pCallback
)
Public Overridable Function RegisterEvent2 ( _
	pEventName As String, _
	pCallback As Action(Of TheProcessMessage, Object) _
) As Action(Of TheProcessMessage, Object)
public:
virtual Action<TheProcessMessage^, Object^>^ RegisterEvent2(
	String^ pEventName, 
	Action<TheProcessMessage^, Object^>^ pCallback
)

Parameters

pEventName
Type: String
Using eThingEvents.XXX to register a callback
pCallback
Type: Action<(Of <(<'TheProcessMessage, Object>)>)>
A Callback that will be called when the eThingEvents.XXX fires