C# Класс Ninject.Planning.Strategies.ConstructorReflectionStrategy

Adds a directive to plans indicating which constructor should be injected during activation.
Наследование: Ninject.Components.NinjectComponent, IPlanningStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ConstructorReflectionStrategy() публичный Метод

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.
Результат System.Collections.Generic

Execute() публичный Метод

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.
Результат void