C# Class Ninject.Planning.Strategies.ConstructorReflectionStrategy

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

Public Methods

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

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.
return System.Collections.Generic

Execute() public method

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