C# Class Ninject.Planning.Strategies.ConstructorReflectionStrategy

Adds a directive to plans indicating which constructor should be injected during activation.
Inheritance: Ninject.Components.NinjectComponent, IPlanningStrategy
Afficher le fichier Open project: ninject/Ninject

Méthodes publiques

Méthode Description
ConstructorReflectionStrategy ( ISelector selector, IInjectorFactory injectorFactory ) : System.Collections.Generic

Initializes a new instance of the ConstructorReflectionStrategy class.

Execute ( IPlan plan ) : void

Adds a ConstructorInjectionDirective to the plan for the constructor that should be injected.

Method Details

ConstructorReflectionStrategy() public méthode

Initializes a new instance of the ConstructorReflectionStrategy class.
public ConstructorReflectionStrategy ( ISelector selector, IInjectorFactory injectorFactory ) : System.Collections.Generic
selector ISelector The selector component.
injectorFactory IInjectorFactory The injector factory component.
Résultat System.Collections.Generic

Execute() public méthode

Adds a ConstructorInjectionDirective to the plan for the constructor that should be injected.
public Execute ( IPlan plan ) : void
plan IPlan The plan that is being generated.
Résultat void