Interface INinjectModule
A pluggable unit that can be loaded into an IKernel.
Inherited Members
Namespace: Telerik.JustMock.AutoMock.Ninject.Modules
Assembly: Telerik.JustMock.dll
Syntax
public interface INinjectModule : IHaveKernel
Properties
Name
Gets the module's name.
Declaration
string Name { get; }
Property Value
System.String
|
Methods
OnLoad(IKernel)
Called when the module is loaded into a kernel.
Declaration
void OnLoad(IKernel kernel)
Parameters
IKernel
kernel
The kernel that is loading the module. |
OnUnload(IKernel)
Called when the module is unloaded from a kernel.
Declaration
void OnUnload(IKernel kernel)
Parameters
IKernel
kernel
The kernel that is unloading the module. |
OnVerifyRequiredModules()
Called after loading the modules. A module can verify here if all other required modules are loaded.
Declaration
void OnVerifyRequiredModules()