C# Class Revenj.Extensibility.Autofac.Core.Activators.Reflection.ConstructorParameterBinding

Binds a constructor to the parameters that will be used when it is invoked.
Mostra file Open project: ngs-doo/revenj Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
GetConstructorInvoker ( ConstructorInfo constructorInfo ) : object>.Func

Method Details

ConstructorParameterBinding() public method

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.
return System

Instantiate() public method

Invoke the constructor with the parameter bindings.
public Instantiate ( ) : object
return object

ToString() public method

Returns a System.String that represents the current System.Object.
public ToString ( ) : string
return string