C# 클래스 LinFu.IoC.Configuration.ArgumentResolver

Represents the default implementation of the IArgumentResolver class.
상속: IArgumentResolver
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
ResolveFrom ( IEnumerable parameterTypes, IServiceContainer container ) : object[]

Generates method arguments from the given parameterTypes and container.

비공개 메소드들

메소드 설명
AddArrayArgument ( Type parameterType, IServiceContainer container, ICollection argumentList ) : void

Constructs an array of services using the services currently available in the container.

AddEnumerableArgument ( Type parameterType, IServiceContainer container, ICollection argumentList ) : void

Determines whether or not a parameter type is an existing list of available services and automatically constructs the service list and adds it to the argumentList.

메소드 상세

ResolveFrom() 공개 메소드

Generates method arguments from the given parameterTypes and container.
public ResolveFrom ( IEnumerable parameterTypes, IServiceContainer container ) : object[]
parameterTypes IEnumerable The parameter types for the target method.
container IServiceContainer The container that will provide the method arguments.
리턴 object[]