Свойство | Type | Description |
---|
Méthode | 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.
|
Méthode | Description | |
---|---|---|
NinjectModule ( ) : System |
Initializes a new instance of the NinjectModule class.
|
public AddBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to add. |
Résultat | void |
public OnLoad ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is loading the module. |
Résultat | void |
public OnUnload ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is unloading the module. |
Résultat | void |
public RemoveBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to remove. |
Résultat | void |
public Unbind ( |
||
service | The service to unbind. | |
Résultat | void |
public VerifyRequiredModulesAreLoaded ( ) : void | ||
Résultat | void |