C# 클래스 Ninject.Planning.Strategies.ConstructorReflectionStrategy

Adds a directive to plans indicating which constructor should be injected during activation.
상속: Ninject.Components.NinjectComponent, IPlanningStrategy
파일 보기 프로젝트 열기: ninject/Ninject

공개 메소드들

메소드 설명
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