Class StandardKernel
The standard implementation of a kernel.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.JustMock.AutoMock.Ninject
Assembly: Telerik.JustMock.dll
Syntax
public class StandardKernel : KernelBase, IKernel, IBindingRoot, IResolutionRoot, IFluentSyntax, IServiceProvider, INotifyWhenDisposed, IDisposableObject, IDisposable
Constructors
StandardKernel(INinjectSettings, INinjectModule[])
Initializes a new instance of the StandardKernel class.
Declaration
public StandardKernel(INinjectSettings settings, params INinjectModule[] modules)
Parameters
INinjectSettings
settings
The configuration to use. |
INinjectModule[]
modules
The modules to load into the kernel. |
StandardKernel(INinjectModule[])
Initializes a new instance of the StandardKernel class.
Declaration
public StandardKernel(params INinjectModule[] modules)
Parameters
INinjectModule[]
modules
The modules to load into the kernel. |
Properties
KernelInstance
Gets the kernel.
Declaration
protected override IKernel KernelInstance { get; }
Property Value
IKernel
The kernel. |
Overrides
Methods
AddComponents()
Adds components to the kernel during startup.
Declaration
protected override void AddComponents()
Overrides
ShouldAddComponent(Type, Type)
Declaration
protected virtual bool ShouldAddComponent(Type component, Type implementation)
Parameters
System.Type
component
|
System.Type
implementation
|
Returns
System.Boolean
|