Yaaf.DependencyInjection


ChildKernel

Defined in Yaaf.DependencyInjection.Ninject.dll.

This is a kernel with a parent kernel. Any binding that can not be resolved by this kernel is forwarded to the parent.

Constructors

ConstructorDescription
new(parent, modules)
Signature: (parent:IResolutionRoot * modules:INinjectModule []) -> unit

Initializes a new instance of the ChildKernel class.

new(parent, settings, modules)
Signature: (parent:IResolutionRoot * settings:INinjectSettings * modules:INinjectModule []) -> unit

Initializes a new instance of the ChildKernel class.

Instance members

Instance memberDescription
CanResolve(request)
Signature: request:IRequest -> bool
Modifiers: abstract

Determines whether the specified request can be resolved.

Returns: True if the request can be resolved; otherwise, false.

CanResolve(...)
Signature: (request:IRequest * ignoreImplicitBindings:bool) -> bool
Modifiers: abstract

Determines whether the specified request can be resolved.

Returns: True if the request can be resolved; otherwise, false.

ParentResolutionRoot
Signature: IResolutionRoot
Modifiers: abstract

Gets the parent resolution root.

Resolve(request)
Signature: request:IRequest -> IEnumerable<obj>
Modifiers: abstract

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

Returns: An enumerator of instances that match the request.

Fork me on GitHub