Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
NinjectModule ( ) : System |
Initializes a new instance of the NinjectModule class.
|
public AddBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to add. |
Результат | void |
public OnLoad ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is loading the module. |
Результат | void |
public OnUnload ( IKernelConfiguration kernelConfiguration ) : void | ||
kernelConfiguration | IKernelConfiguration | The kernel configuration that is unloading the module. |
Результат | void |
public RemoveBinding ( IBinding binding ) : void | ||
binding | IBinding | The binding to remove. |
Результат | void |
public Unbind ( |
||
service | The service to unbind. | |
Результат | void |
public VerifyRequiredModulesAreLoaded ( ) : void | ||
Результат | void |