C# 클래스 Hiro.Resolvers.ConstructorResolver

Represents a class that selects the constructor with the most resolvable parameters.
상속: IConstructorResolver
파일 보기 프로젝트 열기: philiplaureano/Hiro 1 사용 예제들

공개 메소드들

메소드 설명
ResolveFrom ( System targetType, IDependencyContainer container ) : IImplementation

Determines which constructor implementation should be used from a given IDependencyContainer instance.

보호된 메소드들

메소드 설명
CreateConstructorCall ( ConstructorInfo constructor ) : IImplementation

Creates the IImplementation instance that will generate the given constructor call.

메소드 상세

CreateConstructorCall() 보호된 메소드

Creates the IImplementation instance that will generate the given constructor call.
protected CreateConstructorCall ( ConstructorInfo constructor ) : IImplementation
constructor System.Reflection.ConstructorInfo The target constructor.
리턴 IImplementation

ResolveFrom() 공개 메소드

Determines which constructor implementation should be used from a given IDependencyContainer instance.
public ResolveFrom ( System targetType, IDependencyContainer container ) : IImplementation
targetType System The target type that contains list of constructors to be resolved.
container IDependencyContainer The dependency container that holds the current set of dependencies.
리턴 IImplementation