C-DEngine 5.105

ICDEThing..::..RegisterEvent Method

New in V2.1 - Allows for other Plugins and Hosting Applications to listen to certain event.

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

Syntax


void RegisterEvent(
	string pEventName,
	Action<ICDEThing, Object> pCallback
)
Sub RegisterEvent ( _
	pEventName As String, _
	pCallback As Action(Of ICDEThing, Object) _
)
void RegisterEvent(
	String^ pEventName, 
	Action<ICDEThing^, Object^>^ pCallback
)

Parameters

pEventName
Type: String
Name of the event you want to listen to
pCallback
Type: Action<(Of <(<'ICDEThing, Object>)>)>
Callback of the event.