C# Класс Ninject.Extensions.ChildKernel.ChildKernel

This is a kernel with a parent kernel. Any binding that can not be resolved by this kernel is forwarded to the parent.
Наследование: Ninject.StandardKernel, IChildKernel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanResolve ( IRequest request ) : bool

Determines whether the specified request can be resolved.

CanResolve ( IRequest request, bool ignoreImplicitBindings ) : bool

Determines whether the specified request can be resolved.

ChildKernel ( IResolutionRoot parent ) : System

Initializes a new instance of the ChildKernel class.

ChildKernel ( IResolutionRoot parent, INinjectSettings settings ) : System

Initializes a new instance of the ChildKernel class.

Resolve ( IRequest request ) : IEnumerable

Resolves instances for the specified request. The instances are not actually resolved until a consumer iterates over the enumerator.

Описание методов

CanResolve() публичный Метод

Determines whether the specified request can be resolved.
public CanResolve ( IRequest request ) : bool
request IRequest The request.
Результат bool

CanResolve() публичный Метод

Determines whether the specified request can be resolved.
public CanResolve ( IRequest request, bool ignoreImplicitBindings ) : bool
request IRequest The request.
ignoreImplicitBindings bool if set to true implicit bindings are ignored.
Результат bool

ChildKernel() публичный Метод

Initializes a new instance of the ChildKernel class.
public ChildKernel ( IResolutionRoot parent ) : System
parent IResolutionRoot The parent.
Результат System

ChildKernel() публичный Метод

Initializes a new instance of the ChildKernel class.
public ChildKernel ( IResolutionRoot parent, INinjectSettings settings ) : System
parent IResolutionRoot The parent.
settings INinjectSettings The settings.
Результат System

Resolve() публичный Метод

Resolves instances for the specified request. The instances are not actually resolved until a consumer iterates over the enumerator.
public Resolve ( IRequest request ) : IEnumerable
request IRequest The request to resolve.
Результат IEnumerable