Method | Description | |
---|---|---|
NinjectManagerBuilder ( ApplicationConfigurationBuilder applicationConfigurationBuilder ) : System |
Initializes a new instance of the ApplicationComponentConfigurationBuilderBase class.
|
|
SetKernel ( Func |
Sets the IKernel instance to use. By default, NContext will use StandardKernel. You may use this method to supply a custom IKernel, however, you cannot use SetModules or SetSettings in conjunction. Therefore, the specified kernelFactory should supply the kernel instance with any required INinjectSettings and/or INinjectModules.
|
|
SetModules ( Func |
Sets the modules to load into the IKernel.
|
|
SetSettings ( Func |
Sets the INinjectSettings used by the IKernel.
|
Method | Description | |
---|---|---|
Setup ( ) : void |
Register's an IManageNinject application component instance.
|
public NinjectManagerBuilder ( ApplicationConfigurationBuilder applicationConfigurationBuilder ) : System | ||
applicationConfigurationBuilder | ApplicationConfigurationBuilder | The application configuration. |
return | System |
public SetKernel ( Func |
||
kernelFactory | Func |
The |
return |
public SetModules ( Func |
||
moduleFactory | Func |
The module factory. |
return |
public SetSettings ( Func |
||
settingsFactory | Func |
The |
return |