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
Afficher le fichier Open project: ninject/Ninject.Extensions.ChildKernel

Méthodes protégées

Méthode Description
BindingExists ( IKernel kernel, IContext context, ITarget target ) : bool

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

Private Methods

Méthode 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 méthode

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.
Résultat bool