C-DEngine 5.105

IBaseEngine..::..RegisterCSS Method

New 3.2: Allows to register a CSS File for a plugin. The function can be called multiple times to register more than one CSS File

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

Syntax


void RegisterCSS(
	string cssDarkPath,
	string cssLitePath,
	Action<TheRequestData> sinkInterceptHttp
)
Sub RegisterCSS ( _
	cssDarkPath As String, _
	cssLitePath As String, _
	sinkInterceptHttp As Action(Of TheRequestData) _
)
void RegisterCSS(
	String^ cssDarkPath, 
	String^ cssLitePath, 
	Action<TheRequestData^>^ sinkInterceptHttp
)

Parameters

cssDarkPath
Type: String
Path to the Dark Scheme CSS
cssLitePath
Type: String
Path to the Lite Scheme CSS if null the Dark will be used for both schemes
sinkInterceptHttp
Type: Action<(Of <(<'TheRequestData>)>)>
Callback to provide the CSS