C# Class Ninject.Planning.Strategies.MethodReflectionStrategy

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

Méthodes publiques

Méthode Description
Execute ( IPlan plan ) : void

Adds a MethodInjectionDirective to the plan for each method that should be injected.

MethodReflectionStrategy ( ISelector selector, IInjectorFactory injectorFactory ) : System.Reflection

Initializes a new instance of the MethodReflectionStrategy class.

Method Details

Execute() public méthode

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

MethodReflectionStrategy() public méthode

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