C# Класс LinFu.IoC.Configuration.Resolvers.ConstructorArgumentResolver

Represents a class that determines the method arguments that should be used for a given constructor.
Наследование: IConstructorArgumentResolver, IInitialize
Показать файл Открыть проект

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

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