C-DEngine 5.105

IBaseEngine..::..RegisterJSEngine Method

Used to register a JavaScript Engine for this Base Engine. The callback requires to deliver back the javascript engine. The engine can decide how to deliver back the engine. The C-DEngine will help with "MyBaseEngine.GetPluginResource(pRequest)". This function can be called in the callback if the JavaScript engine is located in the ClientBin Folder and named exactly like the name given with "SetEngineName()"

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

Syntax


void RegisterJSEngine(
	Action<TheRequestData> sinkInterceptHttp
)
Sub RegisterJSEngine ( _
	sinkInterceptHttp As Action(Of TheRequestData) _
)
void RegisterJSEngine(
	Action<TheRequestData^>^ sinkInterceptHttp
)

Parameters

sinkInterceptHttp
Type: Action<(Of <(<'TheRequestData>)>)>