C# Class Ninject.Extensions.ChildKernel.ChildKernelConstructorScorer

Scores constructors by either looking for the existence of an injection marker attribute, or by counting the number of parameters including those defined on parent kernels.
Inheritance: Ninject.Selection.Heuristics.StandardConstructorScorer
显示文件 Open project: ninject/Ninject.Extensions.ChildKernel

Protected Methods

Method Description
BindingExists ( IKernel kernel, IContext context, ITarget target ) : bool

Checkes whether a binding exists for a given target on the specified kernel.

Private Methods

Method Description
BindingExistsOnParentKernel ( IKernel kernel, IContext context, ITarget target ) : bool

Checkes whether a binding exists for a given target on the parent of the specified kernel.

Method Details

BindingExists() protected method

Checkes whether a binding exists for a given target on the specified kernel.
protected BindingExists ( IKernel kernel, IContext context, ITarget target ) : bool
kernel IKernel The kernel.
context IContext The context.
target ITarget The target.
return bool