프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
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 |