C# Класс Revenj.Extensibility.Autofac.Core.Activators.Reflection.ConstructorParameterBinding

Binds a constructor to the parameters that will be used when it is invoked.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ConstructorParameterBinding ( ConstructorInfo ci, IEnumerable availableParameters, IComponentContext context ) : System

Construct a new ConstructorParameterBinding.

Instantiate ( ) : object

Invoke the constructor with the parameter bindings.

ToString ( ) : string

Returns a System.String that represents the current System.Object.

Приватные методы

Метод Описание
GetConstructorInvoker ( ConstructorInfo constructorInfo ) : object>.Func

Описание методов

ConstructorParameterBinding() публичный Метод

Construct a new ConstructorParameterBinding.
public ConstructorParameterBinding ( ConstructorInfo ci, IEnumerable availableParameters, IComponentContext context ) : System
ci System.Reflection.ConstructorInfo ConstructorInfo to bind.
availableParameters IEnumerable Available parameters.
context IComponentContext Context in which to construct instance.
Результат System

Instantiate() публичный Метод

Invoke the constructor with the parameter bindings.
public Instantiate ( ) : object
Результат object

ToString() публичный Метод

Returns a System.String that represents the current System.Object.
public ToString ( ) : string
Результат string