Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddBinding ( IBinding binding ) : void |
Registers the specified binding.
|
|
Load ( ) : void |
Loads the module into the kernel.
|
|
OnLoad ( IKernelConfiguration kernelConfiguration ) : void |
Called when the module is loaded into a kernel.
|
|
OnUnload ( IKernelConfiguration kernelConfiguration ) : void |
Called when the module is unloaded from a kernel.
|
|
OnVerifyRequiredModules ( ) : void |
Called after loading the modules. A module can verify here if all other required modules are loaded.
|
|
RemoveBinding ( IBinding binding ) : void |
Unregisters the specified binding.
|
|
Unbind ( |
Unregisters all bindings for the specified service.
|
|
Unload ( ) : void |
Unloads the module from the kernel.
|
|
VerifyRequiredModulesAreLoaded ( ) : void |
Called after loading the modules. A module can verify here if all other required modules are loaded.
|
Method | Description | |
---|---|---|
NinjectModule ( ) : System |
Initializes a new instance of the NinjectModule class.
|
public AddBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to add. |
return | void |
public OnLoad ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is loading the module. |
return | void |
public OnUnload ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is unloading the module. |
return | void |
public RemoveBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to remove. |
return | void |
public Unbind ( |
||
service | The service to unbind. | |
return | void |
public VerifyRequiredModulesAreLoaded ( ) : void | ||
return | void |