C# Class Ninject.Planning.Strategies.MethodReflectionStrategy

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

Public Methods

Method 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 method

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.
return void

MethodReflectionStrategy() public method

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.
return System.Reflection