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

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

Méthodes publiques

Méthode 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

Méthode Description
GetConstructorInvoker ( ConstructorInfo constructorInfo ) : object>.Func

Method Details

ConstructorParameterBinding() public méthode

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.
Résultat System

Instantiate() public méthode

Invoke the constructor with the parameter bindings.
public Instantiate ( ) : object
Résultat object

ToString() public méthode

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