C# 클래스 LinFu.IoC.Configuration.Resolvers.ConstructorArgumentResolver

Represents a class that determines the method arguments that should be used for a given constructor.
상속: IConstructorArgumentResolver, IInitialize
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
GetConstructorArguments ( ConstructorInfo constructor, IServiceContainer container, object additionalArguments ) : object[]

Determines the parameter values that should be used for a given constructor.

Initialize ( IServiceContainer container ) : void

Initializes the class with the default services.

비공개 메소드들

메소드 설명
GetMissingParameterTypes ( ConstructorInfo constructor, IEnumerable additionalArguments ) : IEnumerable

Determines which parameter types need to be supplied to invoke a particular constructor instance.

메소드 상세

GetConstructorArguments() 공개 메소드

Determines the parameter values that should be used for a given constructor.
public GetConstructorArguments ( ConstructorInfo constructor, IServiceContainer container, object additionalArguments ) : object[]
constructor System.Reflection.ConstructorInfo The target constructor.
container IServiceContainer The host container instance.
additionalArguments object The list of additional arguments that should be combined with the arguments from the container.
리턴 object[]

Initialize() 공개 메소드

Initializes the class with the default services.
public Initialize ( IServiceContainer container ) : void
container IServiceContainer The target service container.
리턴 void