C-DEngine 5.105

TheBaseEngine..::..RegisterEvent Method

Register a callback with an event of TheBaseEngine

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

Syntax


public Action<ICDEThing, Object> RegisterEvent(
	string pEventName,
	Action<ICDEThing, Object> pCallback
)
Public Function RegisterEvent ( _
	pEventName As String, _
	pCallback As Action(Of ICDEThing, Object) _
) As Action(Of ICDEThing, Object)
public:
Action<ICDEThing^, Object^>^ RegisterEvent(
	String^ pEventName, 
	Action<ICDEThing^, Object^>^ pCallback
)

Parameters

pEventName
Type: String
pCallback
Type: Action<(Of <(<'ICDEThing, Object>)>)>

Return Value