C# Класс LinFu.IoC.Configuration.ArgumentResolver

Represents the default implementation of the IArgumentResolver class.
Наследование: IArgumentResolver
Показать файл Открыть проект

Открытые методы

Метод Описание
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[]