OnPreInit Method

MCManager API

Gets called before the ManagerEngine is initialized. This method can setup config and language pack data based on the prefix.

Namespace:  Moxiecode.Manager
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public virtual bool OnPreInit(
	ManagerEngine man,
	string prefix
)
Visual Basic (Declaration)
Public Overridable Function OnPreInit ( _
	man As ManagerEngine, _
	prefix As String _
) As Boolean
Visual C++
public:
virtual bool OnPreInit(
	ManagerEngine^ man, 
	String^ prefix
)

Parameters

man
Type: Moxiecode.Manager..::.ManagerEngine
ManagerEngine reference that the plugin is assigned to.
prefix
Type: System..::.String
Prefix to use when setting up config etc.

Return Value

true/false if the user is authenticated

Implements

IPlugin..::.OnPreInit(ManagerEngine, String)

See Also