C# 클래스 Ninject.Selection.Heuristics.SpecificConstructorSelector

Constructor selector that selects the constructor matching the one passed to the constructor.
상속: Ninject.Components.NinjectComponent, IConstructorScorer
파일 보기 프로젝트 열기: ninject/Ninject

공개 메소드들

메소드 설명
Score ( IContext context, ConstructorInjectionDirective directive ) : int

Gets the score for the specified constructor.

SpecificConstructorSelector ( ConstructorInfo constructorInfo ) : System.Reflection

Initializes a new instance of the SpecificConstructorSelector class.

메소드 상세

Score() 공개 메소드

Gets the score for the specified constructor.
public Score ( IContext context, ConstructorInjectionDirective directive ) : int
context IContext The injection context.
directive ConstructorInjectionDirective The constructor.
리턴 int

SpecificConstructorSelector() 공개 메소드

Initializes a new instance of the SpecificConstructorSelector class.
public SpecificConstructorSelector ( ConstructorInfo constructorInfo ) : System.Reflection
constructorInfo System.Reflection.ConstructorInfo The constructor info of the constructor that shall be selected.
리턴 System.Reflection